高性能消息传输机制 Aeron

Apache
Java C/C++
跨平台
2015-03-30
小编辑

Aeron 提供高效可靠的单播和多播消息传输机制。

相关技术术语:

  • 传输介质: 可通过UDP、InfiniBand、共享内存等

  • 介质驱动: Driver for read/writing to/from transmission media for Aeron.

  • 发布者: This is the client application which emits messages.

  • 发送者: The media driver which sends the messages produced by the client publisher.

  • 接收者: The media driver which receives messages send by the Sender.

  • 订阅者: The client application which is receiving messages.

  • 驱动订阅 Driver Subscription: The media driver in charge of message receipt. These messages are passed on to client Subscription applications.

  • 会话 Session: A unique invocation of Aeron that identifies a single Publication and all Subscriptions for that Publication.

  • 会话ID Session ID: A unique identifier for a Session.

  • 频道 Channel: A transmission media needs to have a means of identifying a flow of data and the addressing model of the media. For Aeron, this is called a Channel. For different transmission media, the channel is defined differently. In general, a URI is used for specifying a channel.

  • 物理来源 Physical Source: Source of a Session.

  • 物理接收者 Physical Receiver: Receiver of a Session.

  • 流 Stream: A Session carries sub-sessions within it. Streams are these sub-sessions.

  • 流ID Stream ID: A unique identifier for a Stream. A value of 0 is reserved.

  • Term: A section of data within a Stream. Each Term is associated with a Media Driver send and receive buffer. The length of a Term must be a factor of two and must be the same length on both ends.

  • Term ID: A unique identifier for a Term within a Stream. Starts randomly. Must increase monotonically. Can wrap around. Can not go back to a wrapped value.

  • Term Offset: Identifier of a single byte within the Term. Always start at 0. This is the number of the byte within a given term starting from the beginning.

  • Frame: The unit of data for Aeron. Measured in bytes. The transmission media may include multiple Frames into a single packet of data for batching.

  • Message (aka APDU): The unit of data for the application. APDU means APplication Data Unit. A single Message may be fragmented over multiple Frames. Alternatively, a single Message may fit into a single Frame. A message, all of its fragments, must fit into a single Term.

  • Fragment: The unit of data for a fragmented Message that fits into a single Frame.


加载中

评论(1)

maoxianfly
maoxianfly
用啦干嘛的? Aeron

Aeron 1.8.0 发布,高性能单播和多播消息传输

Aeron 1.8.0 已发布,Aeron 提供高效可靠的 UDP 单播、UDP 多播和 IPC 消息传输。 主要更新内容: 修复 C 驱动的空闲配置。 添加低延迟配置到 Java 示例脚本。 允许所有上下文类在 Java 中 ...

2018/02/27 08:04

没有更多内容

加载失败,请刷新页面

没有更多内容

暂无问答

如何编写高性能的 RPC 框架

在 [RPC Benchmark Round 1](https://my.oschina.net/u/1014759/blog/1616349) 中,[Turbo](https://github.com/hank-whu/turbo-rpc) 性能炸裂表现强悍,并且在 listUser 这一项目中,取得了...

2018/02/06 12:28
4.9K
17
软件工程师的鄙视链

 最近这几年在世界各地突然吹起了一股全民写程序的风潮,连美国总统欧巴马都在写 JavaScript 了,但是身为一介靠写程序(以及在上班时间胡乱上网)来谋生的 developer(所谓的 developer 就...

2014/12/15 14:52
226
1
Neo4j-import导入海量数据过程详细记录

在参考比较了多种导入海量数据到Neo4j图数据库的方法之后,选择了Neo4j官方提供的Neo4j-import方法,并成功导入容量达到8千万级别的数据量。记下该过程,供自己将来需要的时候回忆,也希望给...

2018/03/10 16:30
2.2K
0
OSChina 技术周刊第二十八期 —— 每周技术精粹

每周技术抢先看,总有你想要的! 移动开发 【软件】RichEditor for Android 【软件】用 React 编写移动应用 React Native 【软件】iOS 图表控件 ios-charts 【博客】【iOS越狱开发】如何将应...

2015/04/05 22:09
296
0
云原生实践之 RSocket 从入门到落地:Servlet vs RSocket

技术实践的作用在于:除了用于构建业务,也是为了验证某项技术或框架是否值得大规模推广。 本期开始,我们推出《RSocket 从入门到落地》系列文章,通过实例和对比来介绍RSocket。主要围绕RSo...

01/31 16:09
5
0
云原生实践之 RSocket 从入门到落地:Servlet vs RSocket

技术实践的作用在于:除了用于构建业务,也是为了验证某项技术或框架是否值得大规模推广。 本期开始,我们推出《RSocket 从入门到落地》系列文章,通过实例和对比来介绍RSocket。主要围绕RSo...

01/31 15:41
42
0
Zed Shaw:程序员的常见健康问题

伯乐在线注:原文作者Zed Shaws是一位作家、软件开发人员、音乐人(下文中提到吉他手),于2010年发布《Learn Python The Hard Way》一书,他也是 Mongrel Web 服务器系统的作者之一。 其实这...

2012/05/03 09:59
79
1
程序员也要养生

工作投身嵌入式后,从做画PCB,做验证板,写驱动,到做中间层,到架构并写一些系统,就慢慢的变得无时不刻不爬在电脑前,从07年起,我的脖子开始不舒服,夸夸响。08~09年肩膀也开始僵,11年腰...

2012/05/23 22:52
136
0
awesome-java

A curated list of awesome Java frameworks, libraries and software. Inspired by awesome-python....

2015/05/20 10:23
715
1

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部