Memory caching is the act of storing data that an application needs in memory where it can be quickly retrieved. Under certain circumstances, doing so can dramatically increase both an application’s throughput and performance. Caching data in memory is especially effective when an application needs to repeatedly access the same data that is expensive to retrieve or calculate. Let’s take a look at an example where an application can benefit from memory caching.
TechStore is a fictitious online retailer that sells the latest and greatest gadgets. Once a week, TechStore reviews its product catalog ...