DEV Community

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

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.