Need advice about which tool to choose?Ask the StackShare community!
Apollo vs SignalR: What are the differences?
Developers describe Apollo as "GraphQL server for Express, Connect, Hapi, Koa and more". Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes. On the other hand, SignalR is detailed as "A new library for ASP.NET developers that makes developing real-time web functionality easy". SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
Apollo can be classified as a tool in the "Platform as a Service" category, while SignalR is grouped under "Realtime Backend / API".
"From the creators of Meteor" is the top reason why over 8 developers like Apollo, while over 7 developers mention "Supports .NET server" as the leading cause for choosing SignalR.
Apollo and SignalR are both open source tools. It seems that SignalR with 7.75K GitHub stars and 2.19K forks on GitHub has more adoption than Apollo with 7.53K GitHub stars and 935 GitHub forks.
CircleCI, Swat.io, and Flexport are some of the popular companies that use Apollo, whereas SignalR is used by simplement-e, Jet.com, and NRGSoft. Apollo has a broader approval, being mentioned in 131 company stacks & 127 developers stacks; compared to SignalR, which is listed in 22 company stacks and 18 developer stacks.
We wanted to save as much time as possible when writing our back-end, therefore Apollo was out of the question, we went for an auto-generated API instead. Hasura looked good in the beginning, but we wanted to retain the ability to add a few manual resolvers and modifications to auto-generated ones, which ruled out Hasura. Postgraphile with its Plug-In architecture was the right choice for us, we never regretted it!
Pros of Apollo
- From the creators of Meteor12
- Great documentation7
- Open source3
- Real time if use subscription2
Pros of SignalR
- Supports .NET server31
- Real-time23
- Free17
- Fallback to SSE, forever frame, long polling15
- WebSockets14
- Simple10
- Open source8
- JSON8
- Ease of use7
- Cool5
- Azure0
Sign up to add or upvote prosMake informed product decisions
Cons of Apollo
- File upload is not supported1
- Increase in complexity of implementing (subscription)1
Cons of SignalR
- Expertise hard to get2
- Requires jQuery2
- Weak iOS and Android support1
- Big differences between ASP.NET and Core versions1