I have a C application that inserts data directly to the database of my Meteor application. The app works fine (withoud delays) when I run it in development mode (with "meteor"). However, if I run the app as a node app (bundled) and with external MongoDB, there's an annoying delay in screen updates (5-10s).
I have noticed some previous discussions about this:
- Meteor: server-side db insert delays
- Using node ddp-client to insert into a meteor collection from Node
Questions:
- Is there any other way than building a server-side API for doing the db inserts through Meteor?
- Why the delay is only when using external MongoDB?
- Is there a way in Meteor to shorten this database polling interval?