What is FlowCatalyst
FlowCatalyst is an event-driven integration platform for teams that run several business applications for several customers. Applications publish business events into it. The platform records them, works out who needs to hear about each one, delivers it as a signed HTTP request with retries, ordering and rate limits, and gives operators one place to see and correct all of it. Beside that messaging core it is the identity provider the same applications share: sign-in, roles and permissions, service accounts and tenancy.
The problem
Section titled “The problem”A business system rarely lives alone. An order placed in one application has to reach the warehouse system, the invoicing system and a partner’s API. A delivery recorded by a driver’s phone has to update the customer portal. Each of those hand-offs looks small, and each one quietly needs the same machinery:
- the event must not be lost if the producer crashes after committing its own data;
- it must reach every interested consumer, and only those;
- a consumer that is down or slow must be retried, without hammering it and without holding up everyone else;
- events about the same order must arrive in the order they happened;
- someone must be able to see what was sent, what failed and why, and send it again;
- all of this must respect which customer (tenant) the data belongs to.
When every application writes that machinery for itself, the copies differ and most are incomplete. The usual results are retries without backoff, ordering that holds until the first failure, and no way for an operator to answer “did the warehouse get order 4711?”.
Identity has the same shape. Every application needs sign-in, roles, service credentials and a notion of which customer a user belongs to. When each application builds its own, users get one password per system, and access reviews have to visit every database.
What the platform takes off each application
Section titled “What the platform takes off each application”| Concern | What FlowCatalyst does |
|---|---|
| Not losing events | The SDKs and frameworks write an event into an outbox_messages table in the application’s own database, in the same transaction as the business change. A relay then sends it to the platform. A crash can delay an event, but cannot lose it or invent one. |
| Routing | Subscriptions bind event types to an endpoint. The platform matches each event against them and creates one dispatch job per delivery. |
| Delivery | Each dispatch job is sent as an HTTP POST, signed with HMAC-SHA256 and carrying a bearer token, so the receiver can prove it came from the platform. |
| Retry | Failed deliveries are rescheduled with backoff and eventually parked as FAILED for an operator, never retried forever and never dropped silently. |
| Ordering | Events that share a message group (for example one order’s id) are delivered first-in, first-out. Events in different groups are delivered in parallel. |
| Rate limits and isolation | Dispatch pools cap concurrency and rate per consumer, so one slow consumer cannot starve the others. |
| Backing off | A consumer that keeps failing has its jobs rescheduled with growing delays instead of being called again at once. The router also opens a circuit breaker on any endpoint it calls that stops answering at the transport level. |
| Audit and operations | Every event, dispatch job and attempt is stored and searchable. Operators can requeue, redrive, cancel or correct a job’s payload from the console or the API, and every administrative action is audited. |
| Identity | A full OAuth 2.0 and OpenID Connect provider: password, passkey and organisation single sign-on, second factors, service accounts, roles built from permissions, delegation to customer administrators. |
| Tenancy | One model of clients (tenants), applications and principal tiers that both the messaging and the identity sides use. |
| Declaring it in code | Applications declare their event types, subscriptions, roles, scheduled jobs and more in code, and sync them to the platform on every deploy. |
Around that core the platform also offers scheduled jobs (cron), functions (small first-party programs the platform runs for you), ingestion (bringing data in from files, queues and APIs) and push (server-sent events to browsers and devices). The architecture overview shows how the parts fit.
Why it is built this way
Section titled “Why it is built this way”A few choices shape everything else. Each has its own page under Concepts and Decisions; in short:
- The producer writes the event in its own transaction. Writing to the database and calling another service cannot be made atomic. Writing the event as a row next to the business data can, and a separate relay turns that row into a delivery. This is the transactional outbox pattern (details).
- Ordering is per message group, not global. A global order would force every event through one queue at the speed of the slowest consumer. Most business rules only need “events about this order arrive in order”, so FlowCatalyst orders within a group and parallelises across groups (details).
- Delivery is at least once. Exactly-once delivery over HTTP is not achievable in general, so the platform promises at least once and gives every job a stable id. Receivers make their handlers idempotent; the frameworks help (details).
- The platform keeps the record. Every event and dispatch job is a row in PostgreSQL, the system of record. The queue only carries a pointer to a job, so an operator can always see a job and send it again, whatever happened to the queue copy.
- Identity sits in the platform. The same principals, tenants and permissions decide who may publish, who may subscribe, which service account signs a delivery and who may sign in to an application. Keeping them in one place means one audit trail and one access review (details).
What it is not
Section titled “What it is not”- Not a general-purpose message broker or stream. FlowCatalyst uses a queue (Amazon SQS FIFO, NATS JetStream or PostgreSQL) underneath, but applications never talk to it. They publish business events over HTTP and receive HTTP deliveries. If you need raw high-volume streaming between your own services, use a broker directly.
- Not exactly-once. Deliveries can repeat after a crash or a retry. Handlers must tolerate a second delivery of the same job.
- Not a schema registry. Event types can carry JSON schemas, but they document the payload for consumers. Ingest does not validate events against them.
- Not a workflow engine. FlowCatalyst routes and delivers events and fires scheduled jobs. Processes describe and track multi-step business flows, but the platform does not orchestrate the steps; your applications do, by reacting to events.
- Not a place to run customer-supplied code. Functions are first-party code, written by the team that operates the platform. Their sandbox isolates faults; it is not built to contain hostile code.
- Not a store for client-side state. Push sends small signals (“order 4711 changed”). The data itself is read from the application’s API.
Who uses which part
Section titled “Who uses which part”| You are | You use |
|---|---|
| An application developer publishing or consuming events | An SDK (Go, Java, TypeScript, PHP/Laravel, Rust) and fcdev on your machine. Start with Your first event. |
| A team building a new business service | The application framework (Java or Go), which builds on the Go or Java SDK. |
| A platform administrator | The console at /ui: clients, applications, users, subscriptions, dispatch jobs, audit. See Guides. |
| An operator running FlowCatalyst | The fc-server binary and its subsystem toggles. See Operations. |
Next: the architecture overview, then the FlowCatalyst family for which library to pick.