ascoltatori icon indicating copy to clipboard operation
ascoltatori copied to clipboard

Huge forward packet fan-out

Open behrad opened this issue 9 years ago • 1 comments

It seems it can block the loop when sending wildcard messages to huge list of subscribers: https://github.com/mcollina/ascoltatori/blob/master/lib/trie_ascoltatore.js#L53-L55

I noticed usage of fastparallel in https://github.com/mcollina/mqemitter/blob/master/mqemitter.js, Can we improve here by asyncjs?

behrad avatar May 08 '16 07:05 behrad

Yes! Send a PR and I will inclde it in v3. For an async replacement, use steed (it wraps fastparallel and others). Il giorno dom 8 mag 2016 alle 09:27 Behrad [email protected] ha scritto:

It seems it can block the loop when sending wildcard messages to huge list of subscribers: https://github.com/mcollina/ascoltatori/blob/master/lib/trie_ascoltatore.js#L53-L55

I noticed usage of fastparallel in https://github.com/mcollina/mqemitter/blob/master/mqemitter.js, Can we improve here by asyncjs?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/mcollina/ascoltatori/issues/148

mcollina avatar May 08 '16 07:05 mcollina