Tag: distributed-systems
All the articles with the tag "distributed-systems".
-
DAG Dependencies: Teaching a Job Scheduler to Wait
Adding job dependencies to Workron — a new status, a cycle detection algorithm that guards against a problem that can't happen yet, and a SQL trick for querying into JSON arrays.
-
Surviving the Crash: Adding SQLite Persistence Without Touching Business Logic
Swapping Workron's in-memory store for SQLite, and the interface design that made it a one-file change outside the store package.
-
Splitting and Surviving Failures: HTTP Workers and Heartbeat Detection in Go
Updated:Splitting Workron into separate binaries, then solving the harder problem: detecting when a worker dies mid-job without telling anyone.
-
Building the Concurrent Monolith: Atomic Job Claiming in Go
Updated:How to build a job queue where multiple goroutines compete for work without stepping on each other, mutex-protected maps, atomic claiming, and retry logic.