Guides ยท Technology
Distributed Locks Basics
Coordinate shared work
Distributed locks use stores like Redis/ZooKeeper with expirations and fencing tokens to prevent concurrent conflicts and stale holders.
- locks
- lease
- fencing token
- redis
- zookeeper
Use Leases
Locks should expire; renew if work is long.
Prevent Stale Use
Use fencing tokens to reject stale lock holders.
Handle Failures
Retry with backoff; log contention; avoid long critical sections.
Keep Exploring
Guides
API Basics
APIs let software request data or actions from other systems through defined endpoints and responses.
Comparison
RAM vs Storage
RAM handles what your device is actively working on, while storage keeps apps, files, and system data available over time.
How it works
Global Positioning System
GPS uses timing signals from satellites to calculate a receiver's position on Earth.
What it is
Blockchain
A blockchain is a distributed ledger secured by cryptography and consensus nodes.