server send push notification to client browser without using polling

Rikin Thakkar picture Rikin Thakkar · Sep 10, 2012 · Viewed 14.6k times · Source

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.

Answer

Gros Lalo picture Gros Lalo · Sep 10, 2012

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