I have an app that uses iron:router and has autopublish removed. On the server I generate 100k documents. All documents are published to the client. The client subscribes to all documents.
While the client is updating I call documents.find().count() in the browser console every couple of seconds to see how the data is loaded. I notice that at about 50k documents the subscription (gets refreshed/the connection breaks) and the client starts again with 0 documents. The client fails to pass 50k or so documents for two or so attempts (long waiting time) and then eventually succeeds to load all 100k documents.
Obviously I would like to load all documents in one go (this is on a development machine at the moment).
Are there any gotchas I should be aware of when subscribing to >100k documents?