Is it possible yet to use cluster and UDP on Windows environment.

131 views
Skip to first unread message

Ket

unread,
Jun 20, 2014, 11:32:20 PM6/20/14
to nod...@googlegroups.com
Base on my google research, something like this is working fine on Linux environment: http://stackoverflow.com/questions/16724216/node-js-0-10-7-cluster-support-for-udp-dgram

But I work mostly on Windows 7 and 8 before upload things to the Linux server.

Is there any hack available to get it done on Windows 7 and 8?

Additional information: Currently, I'm using TCP method in exchange data between server and browsers. Since most of the jobs is broadcasting audio and video data frames from one broadcaster to all connected audience, people have suggested me to switch to UDP from TCP to increase data transfer speed. I don't know much about UDP, but I decide to give it a try. Any suggestions about this also welcome.

Thanks in advance,

Ben Noordhuis

unread,
Jun 21, 2014, 3:11:40 PM6/21/14
to nod...@googlegroups.com
Clustered UDP on Windows is not yet supported. Implementing it is on
the order of a few man days but no one has stepped up so far.

Denys Khanzhyiev

unread,
Jun 21, 2014, 5:07:15 PM6/21/14
to nodejs
BTW I have discovered that named pipes are working in Node under Windows and give bigger transfer rates than tcp. Thought haven't tried it with cluster.



--
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 nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHQurc9jMnVuhyAy6zGKDDEo_U428gvt14OWyVhHAtS2GDeQng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Denys Khanzhyiev

unread,
Jun 21, 2014, 5:07:15 PM6/21/14
to nodejs
UDP does not guarantee transmition of data. I personally experience data loss starting from specific Data rate on UDP broadcast on loopback inetrface unde Win7 x64.
And this is pretty low number - about 8 Mbit for me.



--
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 nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.

Matt

unread,
Jun 21, 2014, 7:18:04 PM6/21/14
to nod...@googlegroups.com
That's just shockingly terrible. I've experienced plenty of UDP issues in my career (believe me debugging UDP issues is one of the harder things you'll ever do), but dropping packets on loopback at 8Mbit is appalling.


Gagle

unread,
Jun 25, 2014, 3:54:46 PM6/25/14
to nod...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages