|
|
|
|
|
by lulf
2589 days ago
|
|
I recommend looking at a standard messaging protocol like AMQP 1.0, which will allow you to implement the request-response pattern in an efficient manner without message brokers. Either “direct” client server as with HTTP , or via an intermediary such as the Apache Qpid Dispatch Router. With the dispatch router, you can use pattern matching to specify if addresses should be routed to a broker or be routed directly to a particular service. This is way you can get the semantics that best fits your use case. |
|
Honest question: if the goal is to implement the request/response pattern then why should anyone adopt AMQP instead of plain REST/RPC-over-HTTP?