Entity-Component-System (ECS)
Borrowed from game engines, our platform treats all data as entities:- Entities are containers with a UUID and composable state
- Components are named data structures attached to entities (e.g., Account, Claim, Patient)
- Systems are services that subscribe to entity changes and react in real time
Deep dive into our data engine
Learn how the ECS engine works under the hood.
What happens on each entity change
1
Commit
The API receives a delta (partial update) with optional relationship changes.
2
Persist
The delta is merged into the current entity state. An immutable checkpoint is created recording the previous state, delta, and new state.
3
Fan out to users
The change is broadcast to all API nodes. Each node evaluates it against connected users’ subscriptions and delivers matching events via WebSocket.
4
Fan out to services
The change is matched against background service queries and enqueued to a durable message queue. Services must acknowledge after processing.