// {name:"name of group",member_ids:[member_id1,member_id2]}
groups = new Mongo.Collection("groups")
//{name:"item name",group_id:my_group_id,group:groupObject}
items=new Mongo.Collection("items")//
And if you run these same operations on mongo shell itself, it does not produce such load?
For 1 update, it goes to 4%. That is acceptable.
With and without meteor running ?
Yes
I lightened the load through this :
I removed all fields from groupObject that weren’t related to a “member_ids” field using SimpleSchema and Collection2. It dropped the load from 30-40 to 4-8%.
However this is not satisfying.
I wasn’t sure that it’s related to other posts. Now I know that it’s related to live query but I can’t use “Processing High-Velocity Time-Series Data” nor a case where I can use joins or reactive joins .