Caching

Learn about caching in the context of a distributed system.

When we visit a webpage for the first time, it takes some time to load. But from that point on, it is quicker to load.

❓ Do you ever wonder why this happens? The answer is caching.

In this lesson, we’ll discuss caching at the database level because this is a very well-known practice in the world of distributed systems. But remember that the concept is not limited to databases only. Your laptop itself has a cache that is an integral part of the machine’s hardware.

Press + to interact

What is caching?

The first time a website is accessed, your browser locally stores some data that helps to load the website faster in the ...