6 Performance Optimization Using Caching
Join our book community on Discord
https://packt.link/EarlyAccess/
This chapter is about optimizing performance and scalability of your websites and web services by using caching of various types.
Scalability in an ASP.NET Core project refers to the system's ability to handle increased load, typically in terms of more users, more requests, or higher data throughput, without compromising performance. A scalable system can adjust to changing demands—whether through vertical or horizontal scaling:
- Vertical scaling: Adding more resources to the same machine.
- Horizontal scaling: Adding more machines to a system.
Caching is a technique that directly impacts scalability. By caching frequently accessed data or computation results, you reduce the number of times expensive operations like database calls or complex calculations need to be performed. This reduces load on your backend resources, such as databases and application servers, and...