sudden spike in egress usage
Hey, since I migrated my DB to v2, my egress has shot up. I want to know if these are related and also what is causing the crazy spike in egress.
26479513-66db-4cef-b0ea-47a942afad95
19 Replies
Project ID:
26479513-66db-4cef-b0ea-47a942afad95
are you using the private urls?
No i'm using viaduct. I tried moving to private_url and my build kept crashing because DB was unreachable
Am i missing some config?
viaduct is the public url so that's likely why you are seeing egress usage, and the private network is not available during build so you would need to do the database migrations during runtime before your app starts
I'm only assuming migrations are what you are doing
My bad, it's not build. The app kept crashing
i changed the URL to private again just now
ioredis?
node-redis
Works just fine on public URL
what version of node-redis?
4.6.8
https://github.com/arhammusheer/croissant-home-apis for reference
GitHub
GitHub - arhammusheer/croissant-home-apis
Contribute to arhammusheer/croissant-home-apis development by creating an account on GitHub.
it's not private code
when was 4.6.8 released?
seems like 4 months ago
I can try upgrading
4 months ago should be new enough to support ipv6
from the error it seems like it's not able to resolve internal domain
can you try to add a 3 second sleep to your start command?
Don't think it'll help. Redis connection is opened on request and closed frequently
ah then try upgrading