Answer the question
In order to leave comments, you need to log in
What are queues for?
There is an array of resource-intensive tasks.
There are two services - the service master (the one who issues tasks) and the service executor of these tasks.
The service master knows about all tasks (it keeps the task queue in its memory) and asynchronously issues tasks to perform resource-intensive tasks and receives responses.
Such a system works.
Question - what for to take out queue in separate service?
Answer the question
In order to leave comments, you need to log in
To manage, to control resources, not to fence the garden with your bikes, to Reduce Attack Surface (even with trite errors), for various scaling ... a million reasons
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question