I'm working on a web application where connected users should receive real-time event notifications. By now it's pretty clear that I have to use web sockets, queues etc.... One challenge I'm facing is how an event generated in one web server is passe...
Background: I've a non CS background, so no CS101 knowledge at all. Why is tiny-queue's shift method (https://github.com/nolanlawson/tiny-queue/blob/master/index.js) faster than native array shift, as told in the readme of the module?
I read that individual components will be independently scalable if we use a message queue. I don't understand this statement. What's the downside of not using a Queue and doing operations inside a VM which handles HTTP requests?