We have an application where we have a remote edge device running Node-Red. Writing information to a MongoDB via the mongodb3in node. I don't know alot about databases and Mongo wasn't my choice, but the programming is working and we are successfully writing messages to the database.
The problem is that these machines are running on cellular. We have noticed significant data usage, much more than the messages we are sending. After a bunch of research and finally using wireshark, we realize the MongoDB3 node is constantly communicating with the database even when it is not receiving messages and using up a significant amount of data. If we disconnect the Mongo node and redeploy, the amount of traffic drops.
We would like it so that when the machine is not being used and no data is being written to the database, that our data usage is basically zero. So I expect this is not a node-red problem. And I am not sure where to start for help.
Does this sound like a misconfiguration of our node? (there isn't much configuration to it.)
Is it something just built into the node that we will not be able to avoid?
Is there some way to take the node offline until we need to use it?
I'd appeciate your input. Thanks!!