Summary
In this chapter, we learned how we can leverage both Akka Remoting and Akka Clustering to scale our applications out, adding more machines (and thus more CPU power) to do the work for us. Using Akka Clustering, and specifically Cluster Sharding and Cluster Singleton, we were able to close up a couple of loose ends in how our event sourcing and CQRS implementations would scale out. Our application now can be safely scaled out to meet its increased demand.
We're close to being done with the proposed refactors, but one big piece remains. We still have yet to fully break apart our monolith so that each module can be deployed independently. This will be the last step in the complete refactoring of the bookstore app, and something we will wrap ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access