February 2018
Intermediate to advanced
406 pages
9h 55m
English
As the service scales in terms of the amount of data and concurrency of requests, the database will start becoming a bottleneck. In order to scale, we can adopt a caching solution that will reduce the number of hits to the database by servicing the requests from a cache if the value is available in the cache.
Spring provides mechanisms to include caching through annotations, so that Spring can return cached values instead of calling the actual processing or retrieval methods.
Conceptually, caching comes in two types, as discussed in the following sections.
Read now
Unlock full access