Skip to main content

Tibco Rendezvous (RV): Virtual Circuit, Fault Tolerance and Current Value Cache


Virtual Circuit:
Virtual circuit (VC) provides exclusive communication between two nodes. Only the two nodes can communicate with each other. The sender can only send messages to opposite node and the receiver can receive messages only from the opposite node. If there is a requirement where transport should be done among specific nodes and no other listener should get the information then VC should be used.

Fault Tolerance:
When the active program fails, the fault tolerance software directs one of the backup programs to become active and start processing. To configure programs in FT mode below parameters must be configured:

Active Goal: It defines the total  number of active members. For example: If the active goal is set as 4, there will be 4 active members those have the highest ranks among all the members.

Rank: Each program has a unique rank. If a program has N rank and another program has N+1 rank, then N is a higher rank than N+1. It determines the members who’ll be active according to active goal.

Weight: Weight represents the ability of the program to fulfill its function. The member with highest weight is given the highest rank.

Heartbeat Interval: The inactive member listens for heartbeat messages from active members. These messages tell that the active members are working fine. Heartbeat Interval specifies the time/interval after which the heartbeat message is published.

Activation Interval: When a failover happen, it is detected by the inactive members through the heartbeat failure. Activation interval is the time till which inactive members wait for heartbeats before becoming active.

Preparation Interval: If an inactive program needs time to prepare before becoming active like for setting up a database connection then preparation interval is set.

Current Value Cache:
Tibco RV provides rvcache utility which can store current messages for each subject and the new listeners can retrieve the messages from the cache. This feature fulfills the requirement of new programs joining the system which may need to access some existing information.
Rvcache can also be configured in fault tolerance by starting multiple instances of rv cache. For this run two or more rv processes on separate computers. All the processes store the messages but the one that is active sends the messages to any new listener and rest of the processes stay as inactive.

For configuring rvcache in FT mode all the parameters remain same for all the processes of rvcache except for the –store parameter.

=====================================================================

Other Topics :


Comments

Popular posts from this blog

Tibco Rendezvous (RV): Transport and More

Transport: It is the mechanism for sending and delivering messages. There are three main parameters in Tibco RV for transport: network, daemon and service. Service is specific to programs. Multiple programs may be running on a network. Each program has a different service. There can be many services running under a daemon for different programs. Network parameter specifies the interface for multicast communication from a program. A specific network should be selected for  outbound multicast Rendezvous communications. Daemon specifies the port where RV daemon runs. RV communicates through this daemon and hence remote daemon must be specified to support network communications. Tibrvsend and Tibrvlisten: Every Tibco RV installation provides these two utilities for sending and receiving messages on any multicast network. Sample for testing these utilities: tibrvlisten.exe -service 7576 -network 10.21.6.38 -daemon tcp:7500 "TEST" tibrvsend.exe -s...

Tibco Rendezvous (RV): Features and More

Features of Tibco RV: Decoupling and Data Independence : In RV the applications are loosely coupled and RV has self-describing data that makes it easy for the applications to share data. Location Transparency : RV is based upon subject based addressing. The data/messages are sent and received over subject; hence the programs can communicate without knowing the network details. Architectural Emphasis on Information Sources and Destinations : RV provides efficient solutions for developing distributed system by emphasis on identifying sources and destinations of information. Reliable Delivery: RV provides reliable delivery of messages and without the need of network details. The information like network details and packet transfer are hidden. Certified Message Delivery: Some applications require more assurance for message delivery. For this RV provides Certified Message (CM) delivery which sends the confirmation for the messages received. Distribu...

Tibco Rendezvous (RV): Intro

When I started working on Tibco RV, I used to get stuck on many things. Small, big but the main problem was that I couldn’t find much online as a resolution. Information was limited and distributed. So here’s my try to bring all that I know to one place about RV and provide solutions to as many issues as possible. Intro: For large enterprises, the most fundamental need is the data transfer from one system to another. The messaging model used must be efficient, reliable and scalable. Tibco RV is used by applications running on distributed platforms to exchange data for Enterprise Application Integration (EAI). Tibco Rendezvous has more than 2000 customer installations and is the leading messaging system for real-time and broad data distribution.  Tibco RV is used in Replay Service, Reuters Wireless Delivery System, Reuters Market Data System and Internet Finance Platform. Tibco RV is used by distributed applications for communicating data. It provides both point-to-...