3 ms·
Distribution. Redis, rabbitmq, and celary are all used to share state or messages across many servers. Unless you can run the entirety of an app like facebook o
by mneil 9y ago
Distribution. Redis, rabbitmq, and celary are all used to share state or messages across many servers. Unless you can run the entirety of an app like facebook on a single machine then you will, at some point, have to run several instances of the same application.
Micro services also utilize these databases and frameworks.
- hasenj 9y agoBut most people are not Facebook (and will never be). If you have to have several hardware servers, I don't see why the application server itself cannot contain basic boilerplate code to coordinate communication between the different instances of itself that are running on different machines.
- UK-AL 9y agoBecause you want your web servers to handle requests fast, and serve as many requests as possible. You want offload your non-time dependent requests to other machines to handle without slowing down your request processing on the web servers. Also most queues provide a mechanism distributing load and autoscaling.