Summary
In this chapter, you learned how to use telemetry data and implemented a cache to reduce the number of database requests. You created health checks while differing between startup, liveness, and readiness checks. Liveness checks are used to restart services, while readiness checks are used to verify whether a service is ready to receive requests. Regarding readiness checks, you learned how to integrate .NET Aspire components. You also learned how to get information from load tests to find bottlenecks in the deployed application and to decide on the infrastructure you wish to use. By doing this, you learned how to configure the application so that it scales up when changes are made to CPU and memory, as well as how to scale out when running multiple replicas using scaling rules.
This chapter has uncovered an important reason for using microservices: with scaling, great flexibility can easily be achieved.
The next chapter will act as a starting point and implement different...