TransWikia.com

Is queue is the right choice for server request retries

Software Engineering Asked by Avi L on October 29, 2021

I have server A that received millions of requests per day and for every request it notifies server B about it.
sometimes server B is down (maintenance, bugs etc..) so requests from server A got lost.
(both servers are written in nodejs)

I thought to add a queue (Kafka/RabbitMQ) in server A so every time a request failed it will get into the queue and the service will retry to send it again and again every X minutes.

Do you think queue is the right solution? or is there other mechanism that I should consider?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP