December 2018
Intermediate to advanced
374 pages
11h 39m
English
User-level caching is another level of caching that can prove to be of quite a lot of use. Imagine querying the personal details of the user from the database every time the user moves from one page to another. This would not only be inefficient, but would also penalize during high-load situations, when the response times of the database could be so high that a request could just time out and the user would not be able to log in to the application until the overall load reduced.
So, is there anything that can help here?
The answer to this is user-level caching. When we know that some data is specific to the user and is not critical to security, we can simply load it once from the database and save it on the user ...
Read now
Unlock full access