You can use Socket.IO or SocketCluster. Socket.IO works for simple Express apps - you just attach it, like any other middleware.
SocketCluster lets you run multiple processes. That means, if you need to use multiple cores for your server, for instance, i would recommend using SC. Both solutions are "real time engines". > Am 19.12.2015 um 14:48 schrieb A <[email protected]>: > > 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/ <http://jobs.nodejs.org/> > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > <https://gist.github.com/othiym23/9886289#file-moderation-policy-md> > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > <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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/6ef2ac17-fb80-4dd4-b937-2809dce71f95%40googlegroups.com > > <https://groups.google.com/d/msgid/nodejs/6ef2ac17-fb80-4dd4-b937-2809dce71f95%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/99A03AEB-01FB-4D1F-B2E3-AC1D04DBCBF9%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
