Adam Bieganskitechlead.ink·Dec 12, 2024Cache StampedeA cache stampede is what can happen in a system that handles a massive number of concurrent requests when a cache entry expires and multiple requests try to re-read it from the database at the same time. There are ways of mitigating this effect, prob...cache stampede
Birkaran SachdevforfreeCodeCampfreecodecamp.org·Nov 19, 2024How to Build a Scalable URL Shortener with Distributed Caching Using RedisIn this tutorial, we'll build a scalable URL shortening service using Node.js and Redis. This service will leverage distributed caching to handle high traffic efficiently, reduce latency, and scale seamlessly. We'll explore key concepts such as consi...Redis
Sakshi from KushoAIsoftware-deep-dives.hashnode.dev·Nov 18, 2024What strategies do you use for cache invalidation?This blog is written by Jeremy Rivera at KushoAI. We're building the fastest way to test your APIs. It's completely free and you can sign up here. They say that there are only two hard things in Computer Science: Cache Invalidation and naming things....cache
Gemma Blackgemmablack.dev·Nov 17, 2024Node.js: refreshing a module using require.cacheThis is purely in reference to CommonJS modules. TLDR Before I bore you with why I did this, refreshing a module can be done by deleting its reference in the require.cache object. Like so: require('./some-module') // use module delete require.cach...require.cache
Rishi Bakshirishibakshi.hashnode.dev·Oct 8, 2024Page Not Reflecting Updated Data After Mutation? Here's How to Fix ItWhen working with data mutations in Next.js, one common problem is when the page doesn’t update after adding or editing data. Imagine you’re adding a new to-do item via a server action, and even though the data is updated in the database, the changes...10 likesYou Don't Know Next.jsMutations
Abhilash Kumarabhilashkumar.hashnode.dev·Jul 25, 2024Cache Coherence Problems: Techniques and Approaches for ResolutionIn modern multi-core and distributed computing systems, cache coherence is a critical challenge that can significantly impact performance and data integrity. Cache coherence problems occur when multiple processors have local caches of shared data, le...2 likes·51 readsCache Coherence Problems
Vishwajeet Singhvishsig.hashnode.dev·Jun 8, 2024Caching : So common yet impacts the maxWhat is Cache When you're fixing something with a screwdriver at home or anywhere else, you don't put the screwdriver back in its place every time you use it. Instead, you keep it near your work area to save time and avoid going back and forth. Simil...System Design
Danny Crastoblog.danwald.me·Jan 5, 2024Django cache for APIs with invalidationAPIs especially for dashboards are predominantly read-heavy. To make for a user friendly experience, we should reduce response times of the APIs. The tried and trusted way uses a distributed cache-aside strategy or something more exotic. The expensiv...Django