How do I scale a Java app with a REST API and a Database?
I have a typical stateless Java application which provides a REST API and performs updates (CRUD) in a Postgresql Database. However the number of clients is growing and I feel the need to Increase redundancy, so that if one fails another takes place For this I will probably need a load balancer? Increase response speed by not flooding the network and the CPU of just one server (however how will the load balancer not get flooded?) Maybe I will need to distribute the Database? I want to be able to update my app seamlessly (I have seen a thingy called kubernetes doing this): Kill each redundant