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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3836c-2b45c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3836c-2b45c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?