here is the question: when one user upload something to the server(apache). the server will " push " the request data to all the users . and I don't want to use "ajax" or javascript "timeout reload"。 It costs a lot so, Is there any javascript lib can implement the "server push" technology?
Asked
Active
Viewed 1,333 times
1 Answers
0
You could use WebSockets. I, for one, am using long pooling through XMPP, but I think WebSockets looks promising (maybe my next product version will use WebSockets).
See this StackOverflow question for some details regarding WebSockets support.
Implementation wise, you could use a combination of Socket.IO and node.js to achieve the WebSockets "server push". An example of someone doing this can be found here.