A pure-Rust distributed task queue with a standard gRPC contract. Schema is FlatBuffers (compiled with flatbuffers-rs); transport is gRPC over pure-grpc-rs; idempotency keys are required and the contract is at-least-once with externally-consistent state transitions.
Status: v0.1.0 (initial public release). 208 workspace tests passing. Postgres backend production-shape; SQLite backend embedded/dev only. Wire protocol is taskq.v1 but no public stability commitment until v1.0.0 — see protocol/EVOLUTION.md.
-
Standardize the contract, not the storage. A single, versioned schema (FlatBuffers
.fbs) served over gRPC that any caller, worker, or operator tool can speak. Storage backend is an implementation detail behind the protocol. -
Polyglot workers, Rust-first reference impls. The protocol is the product. Workers in any language with a FlatBuffers + gRPC client must be able to participate. v1 ships a Rust control plane (built on
pure-grpc-rs) and Rust worker SDK; other-language SDKs follow once the contract is stable. -
Pull-based, worker-controlled concurrency. Workers long-poll and declare their own concurrency. The control plane never tracks worker addresses or pushes tasks.
-
At-least-once with required idempotency keys. Every
SubmitTaskcarries an idempotency key (scoped(namespace, key)). At-least-once is the worker-execution contract; the key gives callers bounded duplicate-suppression at the submission layer. -
Multi-tenant by default. Every task carries a namespace. Quotas, metrics, and rate limiting are namespace-scoped from day one.
-
Externally consistent. Every state transition is a serializable transaction; commit order matches real-time order. v1 reference implementation runs on Postgres
SERIALIZABLE(single-node); the protocol does not preclude future CockroachDB / Spanner / FoundationDB backends for multi-region. -
Operable from the start. Stats, worker listing, dead-letter replay, and quota changes are part of v1, not bolted on.
-
Small surface, no workflow engine. v1 is a task queue. Not a DAG engine, not a saga coordinator, not a cron scheduler.
-
Boringly reliable. Crashes, worker death mid-task, control-plane restarts, and network partitions are first-class scenarios — not edge cases discovered in production.
- Workflow orchestration (DAGs, dependencies, fan-out/join)
- Exactly-once delivery
- Cross-datacenter replication
- Web UI
Goals only. No design yet.