{"action":"closed","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5854","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5854/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5854/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5854/events","html_url":"https://github.com/meteor/meteor/issues/5854","id":123300577,"number":5854,"title":"Observing collection skips inserts","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars0.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"id":370605281,"url":"https://api.github.com/repos/meteor/meteor/labels/bug","name":"bug","color":"b60205","default":true},{"id":164729264,"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mongo%20Driver","name":"Project:Mongo Driver","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-12-21T15:38:41Z","updated_at":"2017-03-13T16:11:19Z","closed_at":"2017-03-13T16:11:19Z","body":"Meteor 1.2.1\nWin10 x64\nInternal MongoDB\n\nPrerequisites: other software is pushing data to mongo collection using \n\n`col.insert({time:Date.now(), value:123})` \n\nat different rates (1 mps ... 100 mps (messages per second)). Meteor instance is watching this collection using \n\n`col.find({},{sort:{'$natural':-1}, limit:1}).observe({added:(it)=>{console.log(it.value)}})`\n\nProblem: meteor receive rate is ~0.3 mps no matter what rate of inserts is.\nIf I use `Meteor.setInerval()` to query with the same query I do receive all the data at any sensible rate. I do receive `col.find({}).observe({changed:(oldIt, newIt)=>{ console.log(newIt.value)}})` when items are updated in collection (not added) at the same rate they are being inserted either.\n"}}
{"actor":{"display_login":"hwillson"}}