Search code examples
browserpush-notificationserver-push

server send push notification to client browser without using polling


I am developing a web app in which I want that when some changes in database occurs, server sends response to particular client(like push notification). And I want this notification to be sent client's browser. I don't want to use polling.

What can I do? I think it's possible using SSE, but I am not clear.
I want to know

  • Is it possible to send response to particular client without client's request(without polling).
  • How server will detect that particular client?

please help me.


Solution

  • There is Web Notification. And there you can see the browsers that support it.