3 ms·
If REST ultimately results in heavy use of message queues and async URL responses, the question is why not use eg. AMQP or other messaging protocol straight awa
by tannhaeuser 8y ago
If REST ultimately results in heavy use of message queues and async URL responses, the question is why not use eg. AMQP or other messaging protocol straight away rather than bother using HTTP facades/services as unecessary SPoFs at least between backends.
- jimbokun 8y agoDepends on how tightly coupled you want to be. Directly exposing your queue to external consumers seems very dangerous. Having a well defined and well documented REST API for external consumers, and using queues for communicating between tightly coupled services seems like a much better solution.
- tannhaeuser 8y agoWell-defined and well-documented isn't exactly what I'd use to describe "REST" APIs.
- Dowwie 8y agoWhy not?