Mohammad Talim
Building backend infrastructure, distributed systems, and database tooling from the ground up, working primarily with Go and PostgreSQL.
I Built a Database Migration Runner in Go to See What Happens Underneath
What happens when two copies of your service migrate the same database at the same time, and how Vow keeps it safe.
I Built a Distributed Task Queue from Scratch with Go and PostgreSQL
Solving the dual-write problem with transactional enqueueing (EnqueueTx), FOR UPDATE SKIP LOCKED, and debugging an 8x worker polling bottleneck with k6.
Dhara: Distributed Task Queue in Go
Distributed background job library and service backed by PostgreSQL. Solves the dual-write problem via transactional enqueueing (EnqueueTx), uses FOR UPDATE SKIP LOCKED for atomic worker claiming, and handles crash recovery via heartbeats and a background reaper (~148 tasks/sec under k6 load).
dhara / worker recovery $ go run ./demo/recoveryINFO task=42 status=PENDINGINFO worker-01 claimed task=42WARN worker-01 terminated ... heartbeat expired ...WARN reaper recovered task=42INFO worker-02 claimed task=42 OK task=42 status=COMPLETEDVow: PostgreSQL Migration Runner for Go
Standalone SQL migration runner and CLI for pgx/v5, extracted from Dhara. Enforces schema immutability via SHA-256 checksum drift detection, uses PostgreSQL advisory locks for concurrent deploy safety, and embeds via io/fs.
vow / concurrent startup Instance 01$ ./appLock acquiredApplying 000001Applying 0000022 appliedLock releasedService readyInstance 02$ ./appWaiting for lock.........Lock acquired0 applied, 2 skippedService readyVolter: Distributed & In-Memory Rate Limiter
Published Python rate-limiting package (pip install volter) implementing Token Bucket and amortized O(1) Sliding Window Log algorithms. Uses two-level lock-free read paths in memory and atomic server-side Lua scripts in Redis, with FastAPI ASGI middleware.
volter / distributed sliding window API instance 01user:123 → request200 OK [1/3]user:123 → request200 OK [3/3]API instance 02user:123 → request200 OK [2/3]user:123 → request429 BLOCKED [3/3]Redis / shared stateShared quota: 3 / 3 · 10-second window
Redis Java: High-Performance Redis Server
Zero-dependency Redis server in Java using virtual threads. Profiled with async-profiler flame graphs to eliminate syscall and allocation bottlenecks, driving a 70x speedup to 84,000 ops/s across 36 commands, RESP protocol, pub/sub, and master-replica replication.
redis-java / replication Master :6379$ redis-cli -p 6379> SET hello worldOK> WAIT 1 1000(integer) 1Replica :6380$ redis-cli -p 6380> GET hello"world"Replica acknowledged the write