Você está na página 1de 2

RV

1. What is difference between synchronous and asynchronous communication


Synchronous communication is time driven and asynchronous is event driven. Synchronous communication expects
reply or acknowledgement back and in asynchronous communication doesnt expect any results of its communication
right away. In messaging perspective request/reply messaging is synchronous communication and publish/subscribe
is asynchronous communication.

2. What is Rendezvous
It is a framework/mechanism to integrate different applications running on distributed network on heterogeneous
platforms.

3. What is the functionality of RV daemon


Its a background process; RV enabled programs (programs which use RV api) depend on rvd for reliable and efficient
network communication.
The rvd completes the pathway between rendezvous program processes across the network.
It sends information into the network receives information from the network and filters subject addressed messages.

4. Explain Transport
It is software mechanism for sending and delivering messages.

5. What are the various parameters in Network component and what do each one indicate
Service, Network and Daemon
Service parameter instructs the rvd to use UDP or PGM services whenever it conveys messages on this transport.
Network parameter instructs the rvd to use a particular network for communication
Daemon parameter indicates to which rvd the program has to connect

6 Explain Certified messaging registration process steps and confirmation Process


Certified messaging offers greater certainty of delivery.-even when the processes and their network connections are
unstable.
REGISTRATION.DISCOVERY RESGISTRATION.REQUEST REGISTRATION.CERTIFIED
(Certified delivery agreement) DELIVERY.CONFIRMED DELIVERY.COMPLETE
7. Explain Load balancing in Rendezvous, What are the various parameters
In a producer/subscriber scenario when producer is send messages faster than subscriber can consume,
messages will be queued up with consumer and may be lost. To address this situation we can balance the load of the
consumer by clones of the consumer program and balancing the load among the consumer instances. This is load
balancing.
Programs use distributed queues for certified delivery to a group of servers, in order to balance the load among the
servers. Parameters Scheduler weight
Heartbeat Interval
Scheduler Activation Interval

8. Explain fault tolerance in Rendezvous


Fault Tolerance in a network environment is characterized by rapid recovery from failures such as process
termination, hardware failure and network disconnect. Rendezvous provides a mechanism to achieve the fault
tolerance among the RV processes.
9. What is ledger file used in RV for?
CM Transport keeps Ledger file to record information about every unresolved outbound certified message.

10. How can U establish point-point communication in RV?


Can be established using RPTP protocol over a UDP channel

11. What will happen when limit of a queue exceeds (how the event objects will be removed
from a queue)?
Sends an advisory QUEUE.LIMIT_EXCEEDED
Queue dispatch calls remove the event objects at the head of a queue, and run its callback function.
Callback function is a program code which responds to events-processing inbound messages.

12. What are the limit policies of a Queue in RV?


Discard none, discard first, discard last, discard new.

13. that is the advisory message thrown by RV when the maximum limit of a queue
exceeds?
QUEUE.LIMIT_EXCEEDED

14. Is message loss possible in RV? When is it possible?


Yes, in slow consume and fast producer scenario message lost will be possible.

15. How many types of advisory messages are there in RV?


System Advisory, RVCM Advisory, Fault- tolerance Advisory.

16. How to handle slow consumers when publisher is publishing rapidly?


Scenario: A producer is producing messages at 100/min and consumer able to process
only at the rate of 50/min, what is going to happen to other 50 messages? (Underlying
communication is RV reliable)
Use a dispatcher - increase process instances to avoid overflow. Implement load balancing

17. How can u implement security in RV?


Using SSL Protocol. Can be attained at 3 layers between rvd and services, in rvd, and between rvrd.
18. What are the scheduler parameters in DQ?
Weight, Heart beat interval, Activation

Interval.

19 If rvd is down and a program has to send a message, how it sends


Creating a transport object in the program invokes new rvd process.

20 what is the difference between JMS messaging and RV messaging?


RV messaging is a de-centralizing messaging/JMS centralized messaging

21. Explain rv messaging, how does it work?


RV messaging provides creating messages in a universal format assign a subject name to the message and publish
the message on to the network. Messages will travel over the network and reaches all the nodes in the network. RV
provides RV enables subscribers to capture the message of interest and process it.

22. Explain how do you set up RVCMDQ? And how does it work?
A producer is producing messages at 100/min and consumer able to process only at the rate of 50/min, what is
going to happen to other 50 messages? (Underlying communication is RV reliable)
hint ans: slow response advisory is thrown, oldest messages discarded depending on the destination settings.

23 a process group is on RVCMDQ, can that be made both load-balanced and faulttolerant?
Hint: no, they are mutually exclusive semantics.

24 What is the main problem/issue with load balancing as in RVCMDQ? What are possible
scenarios when this occurs?
Ans: duplication occurs/non-completion of assigned tasks
Hint: 1. if the worker is slow, scheduler might re-assign the task to another worker resulting in duplication.
2. Scheduler fails and the new scheduler reassigns incomplete tasks, resulting in duplication.
Also non-completion of tasks can occur if a worker has complete time=0 and has accepted the task never to return.

25. What is RVRD for? How do we configure and use it?


Hint: RVRD is for routing messages published on a subject to machines on another subnet. There has to be one
RVRD for each subnet, and an RVRD pair installed one on each subnet.

26. How do you do load balancing for ADB adapters?


Hint: Use RVCMDQ to run more than one instance of an adapter. Also you can specify batch processing of records
(batch commit, instead of committing each record individually). Also you can increase thread count (but that going to
help only if you increase it from 4-8).

27 situations were we use CM?


ans: a) producer needs compulsory ack of the message. b) consumer cannot compromise on loosing messages.

28. Situations were we can not use CM?


ans: high data rate bcos CM occupies most of the band width.
29. protocol used by rv. Ans: UDP.

30. What is rvcache?


The program rvcache stores data from recent messages, indexed by subject name, and automatically sends the
cached data to new listeners.
Data stored in rvcache never expires. It remains in the cache until superseded or augmented by data from a new
message on the same subject.
rvcache stores the data in program memory and in a disk file.

31. What is rvtransaction?


When a group of messages are sent, even if one message is not delivered, all the messages are rolled back.
RVTX support is deprecated from AE 5.1.

32. How would you know that a publisher and a subscriber are in cm mode?
Subscriber will be pre-registered with the publisher in a cm mode.

Você também pode gostar