A
A
ArrayPop2020-02-09 10:53:23
Redis
ArrayPop, 2020-02-09 10:53:23

I don't understand how the queue system works?

1) When registering a user, a message is sent to the user about successful registration. But the data has not yet been added to the database and is waiting in line. Then it turns out that we can rarely use queues due to constant delays if we need instant information. For example, when sending a comment, we want to see it immediately in the list of comments, and not wait until its turn comes.
2) Or is it a balancer that sends data to the database immediately after adding a comment, just distributes the load using queues?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question