COMMON PUB/SUB USE-CASES

COMMON PUB/SUB USE-CASES

1. Implementing Asynchronous Workflows -

You will be able to produce an application that's used to place and process orders. This application can use a Pub/Sub topic, wherever the order would be placed and might be picked up by multiple staff for its processing.

2. Distributing Event Notifications -

You can produce an application that incorporates a module that handles new user registrations. This module can fetch the info from user-signups and send notifications whenever a new registration happens. the other module of the application can subscribe to receive the notifications sent by the primary module.

3. Refreshing a Distributed Cache -

You can produce an application that will be accountable for publishing invalidation events to update the first keys of objects that are altered.

4. Reliability Improvement -

You can produce a service in one region/zone and operate it from multiple regions by subscribing to a subject common to all or any regions. this will be used for failure recoveries in specific regions.


Comments

Popular posts from this blog

ADVANTAGES AND DISADVANTAGES OF PUB/SUB

DATA FLOW IN PUB/SUB

INTRODUCTION TO CLOUD PUB/SUB