Reputation: 203
Super simple question, I couldn't find a concrete answer out there.
Is RabbitMQ suitable for RPC-like operations when processing HTTP requests?
I'm interested in firing off a message when a user HTTP request is received, waiting for the response from a backend server, and then sending the response to the client.
Is that a common use scenario? Are people doing it with success? Any pitfalls? Any examples or common design patterns?
Upvotes: 7
Views: 6102
Reputation: 6305
This has worked for me, I do suggest you look at the Web messaging extentions/tools though:
http://www.rabbitmq.com/devtools.html#web-messaging
Upvotes: 1