The Caching Hierarchy
Rather than querying PostgreSQL for every single landing page request, we store read-heavy outputs in memory caches closer to the user.
Rather than querying PostgreSQL for every single landing page request, we store read-heavy outputs in memory caches closer to the user.
What is Cache Aside pattern?
Tap card to flipThe application checks the cache first. If it's a miss, it queries the DB, stores the result in the cache, and returns it.
Auto-saves immediately
Review core concepts before doing the quiz
What is Cache Aside pattern?
Tap card to flipThe application checks the cache first. If it's a miss, it queries the DB, stores the result in the cache, and returns it.
Always online
Hi! I'm Spooky, your study buddy! Let's learn together.