U
U
Urbansamurai2018-06-18 21:59:40
Database
Urbansamurai, 2018-06-18 21:59:40

What is the best way to organize the notification infrastructure at the microservice level?

There is a medium-sized project with an API Gateway and microservices that need to communicate with each other and, with certain CRUD operations, notify the desired group (s) of users. If, for example, new content has appeared in the database, you need to send notifications (user's choice: push, email, client-side socket messages...). Or, when a new message is received, display the number of new, unread messages. What are the best practices for displaying notifications if they are added to the RabbitMQ queue while the user is offline? Is it just to take them from a separate database of the "Notifications" microservice, or are there other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Urbansamurai, 2018-06-24
@Urbansamurai

Found the answer on the net. They say you still need to use a separate database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question