24 days ago
shouldnt my mongodb's egress cost be next to none if i'm using internal communication?
i havn't checked my usage in a while, and just did since i added a bunch of new stuff, and noticed that my mongodb is using tons of egress.
i just checked and it has been set to the pubic url for 2 days, would 2 days really rack up that much cost? or does internal communication count as well
by internal communication i mean using the MONGO_URL variable instead of MONGO_URL_PUBLIC
also does anyone know of a way to lower ram usage? not really avoidable but if theres some quick ways let me know
thanks!
2 Replies
the red line in the picture is when i added a bunch of new features which use ALOT of requests, and at the same time switched to the public mongo url on accident (now reverted)
24 days ago
you didn't share any picture, do you connect to the db from your local machine by any chance?
23 days ago
Hey, private networking is not charged, so anything you see in your egress chart is what your service has transferred out. Visiting the Database tab and querying your database from there would also be done via public networking, unless you have enabled the database ui though private network feature flag, which eliminates egress in this case.
fra
you didn't share any picture, do you connect to the db from your local machine by any chance?
23 days ago
yes i did, sorry not sure why the pictures arnt showing up they are on the discord channel.
alright, thank you. do you have any tips on reducing memory use by chance? or is that basically unavoidable
23 days ago
Unfortunately, I am not super familiar with mongodb and don't have tips to reduce its active memory usage.
23 days ago
You are welcome, let's see if the community has suggestions for reducing mongodb's active memory usage.
Status changed to Solved brody • 23 days ago