-
Type: Bug
-
Resolution: Done
-
Priority: Blocker - P1
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:This is independent of driver or hardware. It could be reproduced on different machines.
But here is one of them:
macos 10.8.3, mb air 1.8 Ghz i7 64 bit
-
Empty show more show less
On my machine it takes about 10% per cursor. Adding mor cursors adds more load, up to 50%.
Issue is reproduced by several people.
I am from nodejs, so I can only give you this code to reproduce the issue:
To reproduce the issue:
you need to npm i mubsub
and here is the code
var mubsub = require('mubsub');
var client = mubsub('mongodb://localhost:27017/test?poolSize=5',
{safe: true});
var channel = client.channel('mubsub');
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
channel.subscribe(console.log);
Original issue on nodes driver tracker: