Tag

ShedLock

2 posts

Distributed Locks and Fencing Tokens: The Lock Expires, and the Holder Does Not Know

System Design series Part 4-7: why lease locks fail in GC pauses and failover; Redis, Redlock, databases, etcd compared; fencing tokens and idempotency keys for payouts.

System Design System Design · Distributed Lock · Fencing Token

Vertical Scaling, Horizontal Scaling, and Stateless Services: Where Sessions, Files, Scheduled Jobs, and Local State Should Go

System Design series Part 2-1: scale up vs scale out, state hidden in your app, and moving it out with Spring Session, ShedLock, S3 presigned URLs, and graceful shutdown.

System Design System Design · Scalability · Stateless