wankdanker / node-discover

Automatic and decentralized discovery and monitoring of nodejs instances with built in support for a variable number of master processes, service advertising and channel messaging.
229 stars 59 forks source link

Message size issues #21

Open ColonelBundy opened 8 years ago

ColonelBundy commented 8 years ago

I have an array of objects, the contents does not really matter but as soon as the array length goes over 30 it wont send at all.

Could this be an issue of the encryption methods? or because its UDP?

wankdanker commented 8 years ago

It's a limititation of the size of the udp packet. The module does not yet do message recombining. There is a branch that uses datagram-stream which could probably be adapted to use a json-stream module to handle that. Eventually I will solve this problem if no one else does.

ColonelBundy commented 8 years ago

Would be great if you could get this done asap! :)

roccomuso commented 7 years ago

+1