Joel.Watson92@gmail.com | LinkedIn: /in/joel3rbear | Twitter: @Joel3rBear
Some of the main benefits of a message queue server are the ability for clients to “catch up” and pull down any information they may have missed while they were not connected and the ability for clients to subscribe to only specific queues.
One reason to initiate the messages from an HTTP request is that it enables asynchronous communication.
The message queue is a socket.io server that is waiting for the requests (messages) from the api server and sending them to the appropriate clients and then waiting to confirm they got it.