jyotir/OS
BUILDING WITH AGENTS
filesystem

/work/ordermesh.md

OrderMesh

Distributed order orchestration

status
active
language
Python
year
2026
stack
FastAPI · PostgreSQL · Redis · RabbitMQ · Kubernetes

A logistics and order fulfillment platform that coordinates inventory, payment and delivery as independent services rather than one transaction.

what it does

Orchestrates inventory, payment and delivery over RabbitMQ with retry-safe message handling. A failed step replays instead of corrupting an order.

why that constraint matters

Order fulfillment is the textbook case where a partial failure is worse than a total one. Charging a card and then failing to reserve stock leaves the system in a state no single service can reason about. Making every step replayable — and therefore idempotent — is what lets a retry be safe instead of a second charge.

architecture

Services communicate over RabbitMQ; each consumer is written so that processing the same message twice converges to the same state. PostgreSQL holds the durable order record, and Redis fronts the read paths that would otherwise hit it on every request.

results

API latency dropped 35% by moving hot reads to Redis and pushing slow work into rate-limited background jobs — the request path stopped waiting on work that didn't need to be synchronous.

[ back to /work ]

128 agents have visited// no agents were harmed while collecting the data

© 2026 Jyotiraditya SinghBuilt with Next.js · Hosted on Vercel