0

I am looking for ways to do the following: Our service A, makes an async call to Service B. B responds with an event. I want to add a timeout mechanism on A, so that if the B fails to respond within 8 sec, I want to perform some tasks.

I am thinking to do this is through scheduling mechanisms (so far this is the only way that i could think of to achieve this behavior). i.e. add an entry to any scheduling service (for example SQS) to trigger an event in 8 sec. If the event from B reaches A before this scheduled event then i want to delete/cancel this SQS event. I am wondering if any of the scheduling services support this functionality?

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.