Aeron 高性能消息传输机制开源项目

我要开发同款
匿名用户2015年03月30日
38阅读
开发技术Java
所属分类服务器软件、JMS/消息中间件
授权协议Apache

作品详情

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

相关技术术语:

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

介质驱动:Driverforread/writingto/fromtransmissionmediaforAeron.

发布者:Thisistheclientapplicationwhichemitsmessages.

发送者:Themediadriverwhichsendsthemessagesproducedbytheclientpublisher.

接收者:ThemediadriverwhichreceivesmessagessendbytheSender.

订阅者:Theclientapplicationwhichisreceivingmessages.

驱动订阅DriverSubscription:Themediadriverinchargeofmessagereceipt.ThesemessagesarepassedontoclientSubscriptionapplications.

会话Session:AuniqueinvocationofAeronthatidentifiesasinglePublicationandallSubscriptionsforthatPublication.

会话IDSessionID:AuniqueidentifierforaSession.

频道Channel:Atransmissionmedianeedstohaveameansofidentifyingaflowofdataandtheaddressingmodelofthemedia.ForAeron,thisiscalledaChannel.Fordifferenttransmissionmedia,thechannelisdefineddifferently.Ingeneral,aURIisusedforspecifyingachannel.

物理来源PhysicalSource:SourceofaSession.

物理接收者PhysicalReceiver:ReceiverofaSession.

流Stream:ASessioncarriessub-sessionswithinit.Streamsarethesesub-sessions.

流IDStreamID:AuniqueidentifierforaStream.Avalueof0isreserved.

Term:AsectionofdatawithinaStream.EachTermisassociatedwithaMediaDriversendandreceivebuffer.ThelengthofaTermmustbeafactoroftwoandmustbethesamelengthonbothends.

TermID:AuniqueidentifierforaTermwithinaStream.Startsrandomly.Mustincreasemonotonically.Canwraparound.Cannotgobacktoawrappedvalue.

TermOffset:IdentifierofasinglebytewithintheTerm.Alwaysstartat0.Thisisthenumberofthebytewithinagiventermstartingfromthebeginning.

Frame:TheunitofdataforAeron.Measuredinbytes.ThetransmissionmediamayincludemultipleFramesintoasinglepacketofdataforbatching.

Message(akaAPDU):Theunitofdatafortheapplication.APDUmeansAPplicationDataUnit.AsingleMessagemaybefragmentedovermultipleFrames.Alternatively,asingleMessagemayfitintoasingleFrame.Amessage,allofitsfragments,mustfitintoasingleTerm.

Fragment:TheunitofdataforafragmentedMessagethatfitsintoasingleFrame.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论