MMatheusinreleaserun.hashnode.devRedis Reference: ZADD Rate Limiter, Distributed Lock Pattern, Pub/Sub vs Streams, MULTI/EXECRedis commands worth committing to memory. SET with atomic options — the patterns that matter SET session:user:123 "data" EX 3600 NX # set session if not exists (atomic) GETEX session:user:123 EX 3600 # get + reset TTL (sliding expiry) GE...2h ago·2 min read
MMMainak Mukherjeeinmainakkaniam.hashnode.devCaching in Backend Systems — A Practical Guide for DevelopersModern backend systems are built around performance and scalability. As applications grow, two problems quickly appear: repeated heavy computations repeated retrieval of the same data If every req12h ago·9 min read
SKSuren Krmoianinnestjs-redis.hashnode.devMastering Distributed Locks in NestJS with RedisXGetting a Grip on Distributed Locks in NestJS with RedisX Distributed systems are complex beasts. When multiple instances of your application decide to access a shared resource at the same time, chaos can ensue. We're talking race conditions, corrupt...3d ago·2 min read