Use NCache for Pub/Sub Messaging and Events
Pub/Sub in NCache is a messaging paradigm that is used to exchange messages among multiple applications. As the name of the model explains, the applications sending the message are publishers and the recipients of the message are subscribers, as they subscribe to the channel they are interested in.
Since all Pub/Sub models require a channel for communication, NCache acts as a medium for topics so that the publisher publishes the message to the NCache topic, and subscribers receive the message via the topic on notification. The notification model is Poll-based Notification model. Using NCache as medium for topics ensures loose coupling within the model and allows berth to scale with abstraction. This also provides the added benefit of the topics being distributed.
To understand better, refer to Pub/Sub Messaging in NCache.
In This Section
Use NCache for Pub/Sub in .NET/.NET Core
Discusses how to use NCache for Pub/Sub messaging in .NET/.NET Core application.
Use NCache for Pub/Sub in Java
Discusses how to use NCache for Pub/Sub messaging in Java application.
Use NCache for Pub/Sub in Node.js
Discussed how to use NCache for Pub/Sub messaging in Node.js application.