This is a OnePlaylist stack overview with ruby-eventmachine websocket served with HA-Proxy load balancer.
Prez done for rubybdx, ruby community in bordeaux france.
Main architecture topics
- HA-Proxy is the main load balancer
- HA-Proxy distribute request to 3 pool of 3 servers
- 3 ruby on rails front end
- 3 elasticsearch nodes
- 3 ruby-eventmachine tcp servers
- monit maintain alive websocket servers
- websocket server handle routing and authenticate with redis and redis pub sub
Many things to share and time is running out.. as usual ! Feel free to ask question if you have some.