A control backbone for FAFO Core
FAFO Core and Function Forge needed a backbone for job state and real-time control that could take bursts, and I put it on Redis. Each function has pending, processing and dead-letter queues and per-job state keys, and multi-step state changes run as server-side Lua, so each is atomic in one round trip. Control commands travel on a Redis stream read by a consumer group, with a separate high-priority stream so a pause or drain never waits behind bulk traffic.
Container port ranges are leased with set-if-absent keys, and cloud GPU spend is counted per second in Redis and persisted to PostgreSQL. The API integration platform runs on a stock Redis 8 with append-only and snapshot persistence. It holds the entity store, search indexes, write stream and rate buckets, and a Redis lease elects its sync workers.
Messages that survive a crashed reader
Agent Swarm needed agent-to-agent messages to survive a crashed reader. Each inbox reads through a consumer group, unacknowledged messages are reclaimed after a fixed fence, and a Lua script moves poison messages aside so one bad message cannot loop. Registration is an atomic set-if-absent on a hash, and a compare-and-set Lua script guards control of an agent.
AgentOS lets a person watch any agent seat, and taking the keyboard is a Redis lease, so a dead holder simply expires. Agent events also enter AgentOS through Redis.
Bursts kept away from search
The memory capability of FAFOHive captures observations in bursts that could starve search, so its writes go through a Redis stream on their own connection pool. The cache stores MessagePack compressed with zstd, and Garnet works as a drop-in backend.
A topology with chosen failure modes
Auth and access plane is where I designed the Redis topology for the estate. I split the instances by role and gave each its own failure mode, including a separate instance for Inference Fabric's GPU container job control.
The OAuth server keeps authorization codes, refresh tokens and registered clients in Redis, and every instance has its own alert rules.
I treat Redis as a component with chosen semantics.
Redis is a third-party server that I configure and program against.