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.
评论