Try google socket.io, its a websocket implementation for both the browser side and server side. Very easy to setup and easy to understand.
jQuery long pool will add much more server requests and huge performance impact, use long pool only if low through output On Sat, Dec 19, 2015 at 9:48 PM, A <[email protected]> wrote: > I have a site up using Node with Express; quite a few pages, and now there > is a requirement to have one of the page be done in realtime. > > I looked into Express.io, but seems like a lot of extra to do all around > that may effect the other parts of the site (rather not retest everything). > > Any suggestions on how I can get a realtime for just one page on the whole > site? As of now, I am using JQuery and leveraging the setInterval for 20 > seconds to accomplish the task; if this is the only, then so be it. > > Thanks > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/6ef2ac17-fb80-4dd4-b937-2809dce71f95%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHPyuwuJ6W2HVMvO00OWt7KS71hn0RUuW3t4ZTfiTMzshFgfUg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
