“distributed-systems”
Distributed Graph Execution: Running Nodes Across Independent Workers
What ADK 2.0 graph workflows actually guarantee about distributed execution today, what you must build yourself, and a candid Cloud Run architecture sketch with limits and caveats.
Message Buses for Multi-Agent Coordination: Fan-Out and Fan-In Patterns
Coordinate agents over Redis Streams, Kafka, or NATS with fan-out/fan-in, correlation IDs, idempotent consumers, backpressure, and dead-letter queues — mapped onto LangChain runnables.
Idempotent Consumers: Delivering Agent Events Exactly Once
Exactly-once delivery is a lie at the transport level. Build idempotent event consumers for agents with dedup keys, a Postgres inbox table, transactional outbox, and side-effect fencing across LangGraph replays.
The Saga Pattern for Multi-Agent Transactions: Compensating Actions
Agent workflows touch payment, inventory, email, and CRM systems — and they fail halfway. Sagas give you long-running transactions with compensating actions instead of pretending rollback exists.