Scaling
Once the server is in production, it's a good idea to monitor its resource consumption and business metrics associated with the application. If we identify any anomalies or high traffic, we should consider scaling the server to offer a better user experience.
Since a client can be any device that is able to connect to the server, including separate computers, we might suddenly have millions of clients accessing the server. When the application ran on one machine, the balance of resource consumption between the client and server parts of the application was fixed. However, as soon as clients and servers could be scaled independently, it became easy for clients to scale way out of proportion to the server's capacity. Today, clients ...
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