KSKynth Studiosinkynth.hashnode.dev·18h ago · 5 min readYour cache dedupes reads that finished, not reads in flight: the hour that took a shared database downGoogle wrote to say one of my sites had picked up a new reason it could not be indexed: server error. By the time I went looking, every page it named answered fine. A crawl of 3,060 URLs under Googleb00
CDCoding Dropletsincodingdroplets.com·1d ago · 11 min readSemantic Caching for LLM Calls in ASP.NET Core: When to Use It and HowEvery AI feature I have shipped eventually hits the same wall. Users ask the same twenty questions in a hundred different phrasings, and each one costs a full round trip to the model. Semantic caching12K
SSUPRABHATinblog.suprabhat.site·4d ago · 7 min readBuilding Scalable Systems: Caching, Rate Limiting and ObservabilityEvery application starts small. A few users, a single server, everything running smoothly. Then one day, traffic spikes. The database groans. Requests start timing out. Users leave. This isn't a hypot00
NLNagesh Lakshmana Gowdainnageshtech.hashnode.dev·Aug 9 · 10 min readStop Paying Twice: Caching Strategies to Cut Your LLM API CostsIf you're running anything on top of an LLM API at scale, there's a good chance you're paying for the same computation over and over. The same system prompt. The same reference documents. The same han00
Jjasmineparkinjas-blogs.hashnode.dev·Aug 6 · 7 min readA 4% cache hit rate was costing us money. Here is the arithmetic I should have run first. We turned on prompt caching for our document-QA service and the invoice went up. Not dramatically. About 5%. Enough that I assumed it was traffic growth for the first two weeks, and it was not. This p20
AYAkash Yadavinblog.akashy.com.np·Aug 4 · 9 min readThe Ultimate Guide to Next.js Caching (Part 2): Cache Invalidation, SWR, React Query & Real Production ArchitectureThis is Part 2 of my Next.js Caching series. In Part 1, we covered Browser Cache, CDN, Router Cache, Full Route Cache, Data Cache, unstable_cache, and use cache. Previously... We learned that a requ10
AYAkash Yadavinblog.akashy.com.np·Aug 4 · 5 min readThe Ultimate Guide to Next.js Caching (Part 1): Browser Cache, CDN, Data Cache & unstable_cacheWhen someone opens your website, does Next.js immediately query your database? Not always. A request may pass through multiple cache layers before your database is even touched. The more requests serv00
DADaniel Anthony Romitelli Jrincraftedbydaniel.hashnode.dev·Aug 3 · 4 min readA Cache Key Is an Equivalence RelationA retry should not become a new creative decision. When a video job fails halfway through and runs again, the user still asked for the same scene. If a timestamp or retry count changes the lookup, the00
ASAman Singhinamanksinghin.hashnode.dev·Jul 24 · 7 min readRedis Caching Best Practices and PitfallsThe caching module covered the patterns and their failure modes one at a time. This article pulls them into a practical set of habits and warnings, the things experienced teams do by default and the m00
ASAman Singhinamanksinghin.hashnode.dev·Jul 24 · 7 min readPreventing Cache Stampede with RedisA cache stampede is one of those failures that stays hidden until traffic is high, then takes down your database at the worst possible moment. A popular cached key expires, and in the brief instant be00