This article was originally published at TheNewStack.
Applications built on microservices can be scaled in multiple ways. We can scale them to support development by larger development teams and we can also scale them up for better performance. Our application can then have a higher capacity and can handle a larger workload.
Using microservices gives us granular control over the performance of our application. We can easily measure the performance of our microservices to find the ones that are performing poorly are overworked or are overloaded at times of peak demand. Figure 1 shows how we might use theKubernetes dashboardto understand CPU and memory usage for our microservices.
Figure 1 Viewing CPU and memory usage for microservices in the Kubernetes dashboard.
If we were using a monolith however we would have limited control over performance. We could vertically scale the monolith but thats basically it.
News Link: https://www.linux.com/news/scaling-microservices-on-kubernetes/.
RSS Link: https://www.linux.com/feed/.