markdown Aeron笔记

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Aeron笔记相关的知识,希望对你有一定的参考价值。

## 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)

以上是关于markdown Aeron笔记的主要内容,如果未能解决你的问题,请参考以下文章