DEV Community

Cover image for Add Real-time to your Java App with Azure SignalR Service

Add Real-time to your Java App with Azure SignalR Service

Anthony Chu on October 11, 2019

Azure SignalR is a fully managed service that makes it easy to add highly-scalable real-time messaging to any application using WebSockets and othe...
Collapse
 
johnkazer profile image
John Kazer

If I'm currently communicating with service workers using a push notification, at what point/scale etc should I consider switching to signalR?

Collapse
 
anthony profile image
Anthony Chu

Push notifications are great for infrequent messages. WebSocket based solutions like SignalR and socket.io can be used for high throughput scenarios when the client (e.g., browser) is open.

An example is a rideshare app. When you see your driver’s location in real-time on a map on their way to pick you up, that’s a good use of WebSockets. When the driver arrives and your phone gets a notification (even when the app is closed), push notifications is great for that.