|
|
|
Ask HN: Technology behind Push Notification
|
|
2 points
by kusum18
5067 days ago
|
|
Hi Guys, I hope this is not a repeated post. I would like to know the exact idea/technology behind developing a push server. The exact query i have is technology wise whats the exact implementation difference between push server and polling client ? |
|
Push server basically does not require much at all download bandwith, when polling requires bandwith for each update request. But push server requires open connection per active client, which might be in the millions at the same time. Pull server does not need active connections to be open all the time. Only when a request happens. For example web servers use pull method to service more clients with less cpu and memory usage because the connections are actually only open when http request/reply happens. Games and chats use push method to move information to the server and to push information given by another client to other clients. But for the server to push data to clients the server at least needs to have the ip address of the client with udp or open socket with tcp.