Glossary:
Messaging Paradigms supported by Nirvana
Nirvana supports three broad messaging paradigms - Publish/Subscribe, Message Queues and Peer to Peer. Nirvana clients can use a mixture of these paradigms from a single session. In addition to this it is possible for clients to further control the conversation that takes place with the server by choosing particular styles of interaction. These styles are available to both readers and writes of messages and include asynchrounous, synchrounous, transactional and non-transactional.
Publish/Subscribe (using Channels/Topics)
Publish/Subscribe is an asynchronous messaging model where the sender (publisher) of a message and the consumer (subscriber) of a message are decoupled. When using the Chanels/Topics readers and writes of events are both connected to a common topic or channel. The publisher publishes data to the channel. The channel exists with the Nirvana realm server. As messages arrives on a channel the server automatically sends them onto all consumers subscribed to the channel. Nirvana supports multiple publishers and subscribers on a single channel.
Learn more about publish/subscribe with channels in:
Publish/Subscribe (using DataStreams and DataGroups)
Nirvana DataGroups provide an alternative to Channels/Topics for Publish/Subscribe. Using DataGroups it is possible for remote processes to manage subscriptions on behalf subscribers. The process of managing subscribers can be carried out by publishers themselves or by some other process. DataGroups are lightweight in nature and are designed to support large numbers of users whose subscriptions are fluid in nature. The addition / removal of users from DataGroups can be entirely transparent from the user perspective.
Learn more about publish/subscribe with DataGroups in:
Message Queues
Like pub/sub, message queues decouple the publisher or sender of data from the consumer of data. The Nirvana realm server manages the fan out of messages to consumers. Unlike pub/sub with channels, however, only one consumber can read a message from a queue. If more than one consumer is subscribed to a queue then the messages are distributed in a round-robin fashion.
Learn more about queues in:
Peer to Peer
Peer to Peer provides a direct communications path between an instance of a service and the client requiring access to the service. The Nirvana realm server brokers the relationship between the service and the client and in doing so becomes transparent as messages pass through it.
Learn more about peer to peer services in:
Messaging Paradigms Comparison
| DataGroups | Channels | Queues | Peer to Peer | |
|---|---|---|---|---|
| Subscriptions Managed Remotely | ![]() |
![]() |
![]() |
![]() |
| Nestable | ![]() |
![]() |
![]() |
![]() |
| Clusterable | ![]() |
![]() |
![]() |
![]() |
| Persistence (data) | ![]() |
![]() |
![]() |
![]() |
| Persistence (state) | ![]() |
![]() |
![]() |
![]() |
| Message Replay | ![]() |
![]() |
![]() |
![]() |
| Synchronous Consumer | ![]() |
![]() |
![]() |
![]() |
| Asynchronous Consumer | ![]() |
![]() |
![]() |
![]() |
| Synchronous Producer | ![]() |
![]() |
![]() |
![]() |
| Asynchronous Producer | ![]() |
![]() |
![]() |
![]() |
| Transactional Consumer | ![]() |
![]() |
![]() |
![]() |
| Non-Transactional Consumer | ![]() |
![]() |
![]() |
![]() |
| Transactional Producer | ![]() |
![]() |
![]() |
![]() |
| Non-Transactional Producer | ![]() |
![]() |
![]() |
![]() |
| Destructive Read | ![]() |
![]() |
![]() |
![]() |
| Delta Delivery | ![]() |
![]() |
![]() |
![]() |
| Conflation (Event Merge) | ![]() |
![]() |
![]() |
![]() |
| Conflation (Event Overwrite) | ![]() |
![]() |
![]() |
![]() |
| Conflation (Throttled Delivery) | ![]() |
![]() |
![]() |
![]() |
| User Specified Filters | ![]() |
![]() |
![]() |
![]() |
| Addressable Messages | ![]() |
![]() |
![]() |
![]() |
| User Access Controlled via ACLs | ![]() |
![]() |
![]() |
![]() |
| Microsoft Reactive Extensions | ![]() |
![]() |
![]() |
![]() |
| Accessible via JMS | ![]() |
![]() |
![]() |
![]() |
| Accessible via AMQP | ![]() |
![]() |
![]() |
![]() |


