Multiplexers, observeChanges duration and OplogTailingin mongo / meteor
Asked Answered
A

1

6

I'm developping an app with Meteor.js. For that, I do have a cluster of mongo instances for oplog tailing. In addition, I'm using Kadira in order to trace my app perfs.

Since I've enabled oplog tailing, many of my pub/sub are slower than before. What I see is that it is way slower when the oplog "query" has its "wasMultiplexerReady" attribute set to false, which is the case on the majority of the observeChanges I see on Kadira.

The problem is there is absolutely NOTHING about it on the web. I've been looking for any resource about it and how it works, but there is literaly nothing.

Could somone give me some hint / explanation about what's going here ? Like what is this attribute "wasMultiplexerReady", how is it used, how can I reduce the oplog tailing computation time, etc...

enter image description here

Thanks you.

Arhat answered 3/3, 2016 at 13:5 Comment(2)
I tackle with the same issues without any progres. I hope that some of meteor masters will answer it.Kate
Did you ever find a solution to this? Running into the exact same issues on my Meteor production app.Squish
G
1

I know this is fairly late, and I'm not 100% on this but I think that is whether or not the subscription was already subscribed to. Meaning another client was already subscribed to that cursor, and Meteor can then just send the same results to multiple people.

Giorgia answered 4/2, 2017 at 14:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.