loading...

re: How to use Amazon SQS and SNS for inter-service communication - Part 1 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Just curious, in the sample, why do all 4 transfer services have their own queue? Wouldn't 1 queue for the same service (per topic) be enough? Si...
 

Hey, thanks for the message. In the specific example, the transfer services would all hold their own internal cache of the team data. So if they shared a queue, once one service had picked up the new queue message the other 3 would never see it.

I don't think that would be the 'best' way to do it n production, I was just providing an example.

I hadn't really looked at Kinesis until recently, but yes I think Kinesis would be a much better provider for this model. It suppors a much more typical pub/sub setup.

Code of Conduct Report abuse