Skip to main content

Architecture

Overview

The KeySquare platform is a low-latency high-performance messaging bus.

Platform

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

ComponentDescription
SequencerApplies a sequence number and timestamp to all data published.
RelaysProvide applications with connectivity to live sequenced data as well as the last value that was previously published for a given topic.
MonitorCollects monitoring telemetry from the platform for use in Grafana.
Key AccessApplication and User permissions. Platform access control and resiliency services.
WorkspaceUser Interface that allows bespoke views of data.
ProxyAllows TCP clients to connect to the platform.