Like today's social networking sites, what technologies are used to update and notify them immediately?

think about how update, does it, like facebook, Twitter, or other social networking sites, instant comment, notifications. What kind of techniques are used? If it is too difficult, what kind of technology can do it? I"m thinking of ajax+settimeout, but is this a standard practice? Is there any other way? It goes with php.

isn"t ajax+settimeout a good way to do this?


websocket is a good solution


server push. Websocket, can definitely use


websocket or http polling. The old browsers do not support websocket


. Wechat's web version can use polling. It's troublesome to maintain


all use node, what else to think about. Socket.io and node cooperate with


workman active push

Menu