Ironflow DB and NATS Ownership

Ironflow DB and NATS Ownership An architecture diagram generated by Archify. events · kept forever by default · PostgreSQL / SQLite — source of truth events kept forever by default runs + steps · kept forever by default · PostgreSQL / SQLite — source of truth runs + steps kept forever by default entity streams · kept forever by default · PostgreSQL / SQLite — source of truth entity streams kept forever by default dispatch_queue · the only dispatch path · PostgreSQL / SQLite — source of truth · replaced STEPS (ADR 0037) dispatch_queue the only dispatch path replaced STEPS (ADR 0037) EVENTS · Limits, 50k msgs, 512MB · NATS JetStream — transport, bounded retention · kept after ack EVENTS Limits, 50k msgs, 512MB kept after ack STEPS · WorkQueue, 1d, 512MB · NATS JetStream — transport, bounded retention · no traffic today STEPS WorkQueue, 1d, 512MB no traffic today RESULTS · Limits, 1h, 128MB · NATS JetStream — transport, bounded retention RESULTS Limits, 1h, 128MB PUBSUB · Limits, 7d, 512MB · NATS JetStream — transport, bounded retention · public.> PUBSUB Limits, 7d, 512MB public.> CANCEL · Limits, 1h, 64MB · NATS JetStream — transport, bounded retention CANCEL Limits, 1h, 64MB SYS_* KV buckets · DB backs only policy, debounce · NATS KV — native, DB backs only two buckets · cron, config, secrets, debounce, policy, tools SYS_* KV buckets DB backs only policy, debounce cron, config, secrets, debounce, policy, tools APP_* KV buckets · user key/value · NATS KV — native, DB backs only two buckets APP_* KV buckets user key/value ingest inserts event run finished notify subscribers PostgreSQL / SQLite — source of truth NATS JetStream — transport, bounded retention NATS KV — native, DB backs only two buckets Legend Durable record NATS KV bucket JetStream stream