Skip to content

Architecture of the library

joelguittet edited this page Dec 13, 2020 · 2 revisions

Architecture of the library

The purpose of this page is to present briefly the global architecture of the c-cote library. This can be useful to understand the implementation, use it to port the library to another language...

Cote is based on discover and axon architectures.

Architecture

The following schema illustrates how the library is implemented.

Architecture

The [ xxx ] annotations mean the link is performed for the selected cote configuration only: PUB for publisher, SUB for subscriber, REQ for requester, REP for replier and MON for monitor.

cote

The cote part contains the exposed functions of the API to start/send/receive data. The purpose of this layer is to start axon and discover instances. Particularly, the discover instance is started immediately for SUB, REQ and MON configurations, and started after port bound by the axon instance for PUB and REP configurations.

discover

The discover library used to perform discovery of the other nodes.

axon

The axon library used to perform communication between nodes.

Clone this wiki locally