RabbitMQ vs Web API + SignalR

scottctr picture scottctr · May 30, 2017 · Viewed 7.6k times · Source

I'm currently using RabbitMQ via EasyNetQ to communicate between a Windows service and numerous clients. The communications are a mix of requests from the clients and push notifications to all of the clients. I'm very happy with the performance, scalability, and security of the current solution, but want to ensure I'm not missing out on something in the latest technologies. What advantages, if any, does Web API + SignalR have for this scenario?

From the what I can tell at this point, SignalR has the potential to be much more performant when web sockets is available, but is slightly more complex from the start and will become significantly more complex if we need to scale out because of the need for a backplane.

Any other insights anyone could share?

Answer

istepaniuk picture istepaniuk · Jan 23, 2021

It's apples vs. oranges.

As lukegf puts it in the question comments: SignalR is push server notification solution.

RabbitMQ is a message broker, and though there is edge cases in which it could directly interact with your web clients, it is mostly suited for server to server communication.