Architecture
Overview
The KeySquare platform is a low-latency high-performance messaging bus.
Sequencer Architecture
The message bus has a Sequencer Architecture, all messages published are placed into a sequenced stream with a unique sequence number and receipt timestamp applied. This ensures that all consumers see messages in a consistent order.
Most typical message buses only offer ordered delivery of messages from a single publisher, but not from multiple publishers - i.e. the interleaving of messages from multiple publishers may be seen in a different order by different subscribers. This is problematic when creating resilient state machines and is solved by a Sequencer Architecture.
Components
| Component | Description |
|---|---|
| Sequencer | Applies a sequence number and timestamp to all data published. |
| Relays | Provide applications with connectivity to live sequenced data as well as the last value that was previously published for a given topic. |
| Monitor | Collects monitoring telemetry from the platform for use in Grafana. |
| Key Access | Application and User permissions. Platform access control and resiliency services. |
| Workspace | User Interface that allows bespoke views of data. |
| Proxy | Allows TCP clients to connect to the platform. |