Skip to content

Instantly share code, notes, and snippets.

@antmd
Last active January 23, 2019 12:38
Show Gist options
  • Save antmd/5ad2fa6fdd2ad9e4990dcfac92f588e8 to your computer and use it in GitHub Desktop.
Save antmd/5ad2fa6fdd2ad9e4990dcfac92f588e8 to your computer and use it in GitHub Desktop.
Aeron Notes

Channels

A channel is a communications endpoint corresponding to an OS connection stream (e.g. UDP/IPC), and is divided into virtual sub-channels called 'streams'. Aeron multiplexes and demultiplexes streams from the physical connection.

Channel -1--n- [Stream]
Stream -1--n- [Image]

Channels are aeron URLs of the form:

aeron:<protocol>?<protocol_option>|<protocol_option>|<protocol_option>....

E.g. for UDP

aeron:udp?endpoint=localhost:40123|interface=192.168.0.0/24

For IPC

aeron:ipc

Objects

Aeron Context represents the connection to the Aeron system more particularly the Media Driver.

to subscribe, you request (/add) a Subscription from (to) the Context for (channel, stream) to publish, you request (/add) a Publication from (to) the Context for (channel, stream)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment