Fermion — Workflow & rules engine

Fermion is the Workflow & rules engine component of Gluonify.

Workflow and rules engine: BPMN 2 workflows and DMN decision tables, kept in Git (Bitbucket, GitLab) and run on the server side. Applications connect as nodes over a permanent WebSocket (the protocol and a client are in the plasma SDK), announce their skills and only execute atomic tasks; Fermion routes the steps, retries, timers and circuit breakers, and resumes a failed execution at its last step. State and history are in gDown; calls are authenticated with Charm tokens; web interface in Vue, in five languages. A single active replica for now. Sending messages (email, Teams, post) is left to Interfero, a node like any other.

In plain words

The scheduler of recipes: it knows the order of the steps of a business process, tells each program which task to do next, applies your business rules and waits for the answer.

In physics

A fermion is a particle with half-integer spin that obeys Pauli's exclusion principle: two identical fermions cannot occupy the same quantum state. Quarks and electrons are fermions.

Why this name

A workflow and rules engine lives under the same constraint: at any moment an instance occupies a single step, a task is given to a single node, a decision returns one deterministic answer for a given payload. Hence the rigour of the engine.

The other components

Back to the architecture