Developing asynchronous web searches with Spring
When developing a small site, usually the application server directly executes the query to a simple relational database and as a pattern, it is certainly very fast and easy to build. When the site grows, this pattern will show its scalability problems, especially when the server has to perform many operations to the query data before reporting back the result set that is to be presented to the end users.
Another problem is the system upgrade; each little update requires the application server to be stopped and restarted.
In this example, we are going to show how to use a message queue system to scale a web application. We will create separate modules with different responsibilities linked to each ...
Get RabbitMQ Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.