Caching Strategy
A caching strategy is a deliberate approach to storing frequently accessed data in a faster, temporary storage layer so subsequent requests can be served more quickly, reducing load on slower underlying systems like databases or external APIs.
9 resources across 2 libraries
Glossary Terms(4)
CAP Theorem (CS)
The CAP theorem states that a distributed data store can provide at most two of the following three guarantees simultaneously during a network partition: Consi…
Load Balancing Algorithm
A load balancing algorithm is a strategy used to distribute incoming network traffic or computational work across multiple servers or resources, aiming to opti…
Caching Strategy
A caching strategy is a deliberate approach to storing frequently accessed data in a faster, temporary storage layer so subsequent requests can be served more…
Content Addressable Storage
Content-addressable storage (CAS) is a data storage method where content is retrieved using a unique identifier derived directly from the content itself, typic…
Interview Questions(5)
What is Consistent Hashing and Why is it Used?
Consistent hashing maps both keys and servers onto the same circular hash ring so that when a server is added or removed, only the keys between it and its neig…
Online vs Offline Algorithms: What is the Difference?
An online algorithm processes input piece by piece as it arrives, making irrevocable decisions without knowledge of future input, while an offline algorithm ha…
How Would You Design Pastebin?
Pastebin is a text-snippet sharing service built around three core pieces: a short unique key generator for each paste, an object store or blob-friendly databa…
Fan-Out on Write vs Fan-Out on Read: Which Should You Use?
Fan-out on write pre-computes each follower’s feed the instant content is created, pushing a copy into every follower’s inbox so reads are cheap and instant, w…
What Are Service Worker Caching Strategies?
A service worker caching strategy is the policy a service worker’s `fetch` event handler applies to decide whether a request is served from the Cache API, the…