![Flow Cluster Master-Slave API](/confluence/download/attachments/30740712/Flow%20Cluster%20Master-Slave%20API.png?version=1&modificationDate=1351574399000&api=v2)
Description
In the cluster the Master handles all database related actions.
In the master database you assign conference rooms to certain slaves.
Slaves only host conference rooms.
The slaves handle all RTMP related traffic.
All HTTP related traffic is handled from the master.
The master itself can also act as slave, in that case he does of course not need to sync his data to the master.
![Cluster Master Slave Diagram](/confluence/download/attachments/30740712/Cluster%20Master%20Slave%20Diagram.png?version=4&modificationDate=1351574518000&api=v2)