Tag

#Distributed Systems

Every article tagged Distributed Systems, in one place.

  • 3 articles
  • 5 min of reading
  • 21 Aug, 2026 last updated

Showing 3 articles

Redis 2 min read

Distributed Locks with Redis

When several app instances run the same scheduled job, you often want exactly one of them to do the work. A Redis lock is a simple way to coordinate. Acquire with SET NX PX import { randomUUID } from 'node:crypto'; async function acquireLock(name, ttlMs) { con...

21 Aug, 2026 Author 460 44
Read article