hard20 pts · first answer countsmessage-queuesbackpressureworkers
Consumer runs out of memory
A Node.js consumer pulls messages as fast as the broker sends them and starts a promise for each. During a backlog it uses 6 GB and crashes. What is the fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Slow email during signupBackend Developer
- Queue versus topicBackend Developer
- Why put a queue between servicesBackend Developer
- What a RabbitMQ exchange doesBackend Developer
- Direct exchange routingBackend Developer
- Topic exchange wildcardsBackend Developer
- Fanout exchange behaviourBackend Developer
- SQS standard versus FIFOBackend Developer