vaibhav mahalle / labs

Small, running proof of concepts.

Each of these is a bare-minimum, live, working implementation of a backend/distributed-systems concept — built to understand it, not just describe it. Generic scenarios, real code, real deployed state.

Distributed Lock with Fencing Tokenslive

Two workers race for the same lock. Watch a plain TTL lock go unsafe under a slow worker — and a fencing token catch the stale write.

RedisDistributed SystemsConcurrency
Rate Limiter (Token Bucket)planned

Hammer a fake endpoint and watch requests get allowed or throttled in real time.

Distributed SystemsAPI Design
HashMap From Scratchplanned

Insert keys and watch bucket assignment, collisions, and resizing happen live.

Data StructuresJava