5 ms·
I literally was going to do this this coming weekend, same name even! I was going to take a much different approach however - I was going to use rabbitmq speak
by addisonj 13y ago
I literally was going to do this this coming weekend, same name even!
I was going to take a much different approach however - I was going to use rabbitmq speaking STOMP over a websocket [0] with two queues, one for client moves, which the server would consume and write to the moves queue, which each client would consume. This would allow the server to do more fancy rate limiting / throttling as not to just lead to a message storm. This, along with storing the game state in a db, allows for scaling out app servers.
0 - https://www.rabbitmq.com/blog/2012/05/14/introducing-rabbitmq-web-stomp/ https://www.rabbitmq.com/blog/2012/05/14/introducing-rabbitm...