TIBCO rendevous

v   Rendezvous Daemon

§  Background process (rvd)

§  All information that travels between processes pass through a TIBCO Rendezvous daemon as it enters a host computer or exists a sending process

§  Responsibilities

o        Data transport

o        Packet ordering

o        Receipt acknowledgement

o        Retransmission requests

o        Dispatching information to the correct application process

v  Rendezvous API

§  C

§  C++

§  Java

v  Reliable Message Delivery

§  Standard multicast and broadcast protocols are not reliable and unable to detect loss messages

§  Receiving RVD detects missing packets and requests that the sending daemon retransmit them

§  Sending RVD stores outbound messages for a limited period of time

§  Re-transmissions

o        Buffers held for a time interval

o        Duplicate requests for the same packet within a window are ignored

v    Subject-based addressing conventions define a simple, uniform name space for messages and their destinations decoupling programs from the network addresses of specific computers.

v  Communication between programs is anonymous, decoupling consumers from producers.

§  Consumers need not know where or how data is produced

§  Producers need not know where data is consumed

v  Special Characters

§  _ (underscore): Subject names beginning with underscore are reserved.

§  . (dot): Separates elements within a subject name.

§  > (greater-than): Wildcard character, matches one or more trailing elements.

§  * (asterisk): Wildcard character, matches one element.

v  Wildcards

§  The asterisk (*) is a wildcard character that matches any one element. The asterisk substitutes for whole elements only, not for partial substrings of characters within an element.

§  Greater-than (>) is a wildcard character that matches all the elements remaining to the right.

v  Names that begin with an underscore character (_) are special subjects

§  _INBOX.

v  All inbox names begin with this prefix. Programs may not create inbox names except with inbox creation calls. Programs cannot combine inbox names with wildcards.

§  _LOCAL.

v  Messages with subject names that have this prefix are only visible and distributed to transports connected to the same TIB/Rendezvous daemon as the sender.

§  _RV., _RVCM., _RVCMQ., _RVFT., _RVDS.

v  Subject names with those prefixes indicate advisory messages, including informational messages, warnings and errors. Programs must not send to subjects with this prefix.

Listening to:

Matches to:

Does not match to:

RUN.*

RUN.AWAY

RUN.away

RUN.Run.run (extra element)

Run.away (case)

RUN (missing element)

Yankees.vs.*

Yankees.vs.Red_Sox

Yankees.vs.Orioles

Giants.vs.Yankees (position)

Yankees.beat.Sox (vs beat)

Yankees.vs (missing element)

*.your.*

Amaze.your.friends

Raise.your.salary

Darn.your.socks

your (missing elements)

Pick.up.your.foot (position)

RUN.>

RUN.DMC

RUN.RUN.RUN

RUN.SWIM.BIKE.SKATE

HOME.RUN (position)

Run.away (case)

RUN (missing element)

v  TIBCO RV programs exchange self-describing data that consists of up to 6 parts:

§  Data

o        The data itself

§  Type

o        Indicator to interpret the data as an integer, a string, a composite message, or any other datatype

§  Size

o        Number of bytes that the data occupies

§  Name

o        The subject name of the message or the name of a field within a message

§  Identifier

o        An optional integer that uniquely identifies a field within a message

§  Count

o        The number of elements in an array datatype

v  Two Types

§  Network Transport

o        Delivers messages across a network to one or many hosts

o        Messages pass through the RVD process

§  Intra-process Transport

o        Deliver messages between program threads

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值