costs
peacocksir
HOBBYOP

5 months 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!

Solved$10 Bounty

9 Replies

peacocksir
HOBBYOP

5 months ago

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)


peacocksir
HOBBYOP

5 months ago

maybe i should learn up on railway docs and start doing bounties 🤔


fra
HOBBYTop 10% Contributor

5 months ago

you didn't share any picture, do you connect to the db from your local machine by any chance?


5 months 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?

peacocksir
HOBBYOP

5 months ago

yes i did, sorry not sure why the pictures arnt showing up they are on the discord channel.


peacocksir
HOBBYOP

5 months ago

alright, thank you. do you have any tips on reducing memory use by chance? or is that basically unavoidable


5 months ago

Unfortunately, I am not super familiar with mongodb and don't have tips to reduce its active memory usage.


peacocksir
HOBBYOP

5 months ago

ok nw, thank you though


5 months ago

You are welcome, let's see if the community has suggestions for reducing mongodb's active memory usage.


Status changed to Solved brody 5 months ago


Loading...