Tag: Caching
4 posts
-
Next.js 15 Internals: App Router vs Pages Router, RSC, Rendering Decisions and the Four Caches
Deep dive into Next.js 15: App Router vs Pages Router, Server Components, static/dynamic rendering, Router/Data/Full Route caches, and production-ready.
-
Redis Caching Patterns in Node.js: Cache-Aside, Write-Through, Refresh-Ahead and Stampedes
Redis caching in Node.js with working code: cache-aside, write-through, write-behind and refresh-ahead compared, stampede locks, pub/sub invalidation, eviction policy, and what happens when Redis is down.
-
Node.js Performance: Clustering, Caching, and Profiling
Node.js performance in practice: measure before tuning, cluster across cores, cache without stampedes, fix N+1 queries, keep the event loop free, and profile with --cpu-prof and clinic.js.
-
Caching in C++ Services: A Thread-Safe LRU+TTL Cache, Redis Cache-Aside and Stampede Protection [#50-8]
Caching in a C++ service: an O(1) LRU+TTL cache using splice, sharded locks, hiredis cache-aside with timeouts, single-flight loads and TTL jitter.