03 — Systems
Distributed task orchestration engine for reliably executing long-running jobs across isolated worker nodes.
Stack
Go · gRPC · Protobuf · PostgreSQL · Docker · Python
In one line
at-least-once delivery
Orbit is a distributed orchestration engine that schedules and reliably runs background jobs across polyglot, isolated workers — designed around correctness under concurrency and failure. A Go control plane schedules work, Python workers execute it over a typed gRPC contract, and PostgreSQL is the single source of truth.
Demo coming soon
Go control plane uses goroutines and channel-based select loops for high-concurrency scheduling with a priority-ordered job queue.
Race-free dispatcher on PostgreSQL uses row-level locking and transactional state transitions to guarantee at-least-once delivery.
Typed gRPC/Protobuf contract covers registration, leasing, heartbeats, result reporting, and log streaming across languages.
Heartbeat-driven reaper recovers zombie workers, expires stale leases, and retries stalled jobs with configurable backoff.
Execution isolated in CPU/memory-limited Docker containers via the Docker SDK to prevent cascading failures.