Summary
Deploying our application on a cloud provider is really straightforward as it is a runnable jar, thanks to Spring Boot. Cloud deployment is very affordable nowadays and deploying a Java application has become almost too easy.
With sessions backed by Redis, we laid the basics of a scalable application. Indeed, we can effortlessly add multiple servers behind a load balancer and absorb high traffic on demand.
The only thing that is not scalable is our WebSocket that will need additional work to run on top of a message broker, such as Rabbit MQ.
I can certainly remember a time where finding a host running a Tomcat was rare and pricey. Those days are long gone and the future belongs to web developers, so make it happen!
In the next chapter, we ...
Get Spring MVC: Designing Real-World Web Applications 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.