4. Building scalable applications
When running an application efficiently, the ability to scale and upgrade your application is critical. Scaling allows your application to handle additional load. While upgrading, scaling is needed to keep your application up to date and to introduce new functionality.
Scaling on demand is one of the key benefits of using cloud-native applications. It also helps optimize resources for your application. If the front end component encounters heavy load, you can scale the front end alone, while keeping the same number of back end instances. You can increase or reduce the number of virtual machines (VMs) required depending on your workload and peak demand hours. This chapter will cover the scale dimensions of the application and its infrastructure in detail.
In this chapter, you will learn how to scale the sample guestbook application that was introduced in Chapter 3, Application deployment on AKS. You will first scale this application...