Guides ยท Technology
Distributed Lock Basics
Coordinate work safely
Implementing distributed locks requires a reliable store (like Redis/ZooKeeper), unique lock IDs, expirations to avoid deadlocks, renewals for long tasks, and idempotent work in case locks expire or are lost.
- distributed locks
- mutex
- redis
- timeouts
- renewal
Acquire Safely
Use unique lock IDs and atomic set-if-not-exists.
Set Expiry
Set TTLs; renew for long tasks; avoid deadlocks.
Design Work
Keep tasks idempotent; handle lost locks gracefully.
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.