MJMayank Jaininsyntax-soul.hashnode.dev·Jul 20 · 7 min readArtifact Registry Cost Optimization: Tricks That Actually Move the NeedleIf you're running container workloads on Google Cloud, there's a good chance Artifact Registry is quietly costing you more than it should. Storage adds up fast when every CI run pushes a new image, an00
MJMayank Jaininsyntax-soul.hashnode.dev·Jul 13 · 10 min readDemystifying PgBouncer: Connection Pools, Hidden Math, and Multi-Pod ScalingIf you are running PostgreSQL or AlloyDB in a high-traffic production environment, you have likely heard that you need PgBouncer. But while setting it up can seem as simple as dropping a lightweight p00
MJMayank Jaininsyntax-soul.hashnode.dev·Jul 11 · 9 min readRedis in Production: Pitfalls, Anti-Patterns, and Hard-Won LessonsThis is the practical, "things that actually bite people" post. Everything here is a pattern that looks fine in development, passes code review, and then causes a real incident once it hits production00
MJMayank Jaininsyntax-soul.hashnode.dev·Jul 11 · 11 min readSharding, Replication, and Sharded Replication in Redisverything so far has assumed a single Redis instance. That's fine for a lot of use cases, but it has two hard limits: your dataset can't be bigger than one machine's RAM, and if that one machine goes 00
MJMayank Jaininsyntax-soul.hashnode.dev·Jul 11 · 8 min readCache Invalidation Patterns: Cache-Aside, Write-Through, and Write-BehindThere's an old joke in computer science: "There are only two hard things: cache invalidation and naming things." This post is about the first one — the actual strategies real systems use to keep cache00