ruby + websocket + HA-Proxy on OnePlaylist

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.

view the slideshare

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.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *