Very high volume of outgoing traffic
montecoredevelopment
HOBBYOP

a month ago

Hello Team! rocket emoji

I'm having an issue that I can't figure out.

I'm getting very high per-minute Egress for several modules.

The only place data is being sent from this (and other modules) is to a Redis pub/sub channel over an internal network (both services are in the same project). Could you please help me understand where this traffic is going? Or do you count event publication to Redis over an internal channel within the same project as Egress?

Setup: Both the publishing service and Redis are in the same Railway project and communicating over an internal network/channel.

Question: Is this internal Redis pub/sub traffic within the same project counted as Egress?

$10 Bounty

8 Replies

Internal Redis pub/sub traffic within the same Railway project, when using the internal network (private networking), is not counted as charged Egress. Egress charges only apply to outbound traffic from your Railway services to external destinations on the internet. Communication between services—including Redis pub/sub—within the same project over the internal network is unmetered and not billed as Egress.


Status changed to Awaiting User Response Railway about 1 month ago


angelo-railway

Internal Redis pub/sub traffic within the same Railway project, when using the internal network (private networking), is not counted as charged Egress. Egress charges only apply to outbound traffic from your Railway services to external destinations on the internet. Communication between services—including Redis pub/sub—within the same project over the internal network is unmetered and not billed as Egress.

montecoredevelopment
HOBBYOP

a month ago

Hi. Thanks for the quick response. I don't have any other constant minute-by-minute data transfers to the external network. Could you provide the URL where such large volumes of data are being sent? I've thoroughly reviewed my code, and other than the pub sub channels on the internal network, I don't see any other outgoing data in the volumes I'm being charged for.


Status changed to Awaiting Railway Response Railway about 1 month ago


montecoredevelopment

Hi. Thanks for the quick response. I don't have any other constant minute-by-minute data transfers to the external network. Could you provide the URL where such large volumes of data are being sent? I've thoroughly reviewed my code, and other than the pub sub channels on the internal network, I don't see any other outgoing data in the volumes I'm being charged for.

passos
MODERATOR

a month ago

Hey, unfortunately Railway won't be able to provide that. I would recommend looking into Railway's HTTP Logs tab or using observability tools like Sentry or OpenTelemetry, as they're typically able to record any outgoing domains. Also, can you share a screenshot of your Egress metrics?


danny
PRO

a month ago

Are you sure you are using railways internal domains instead of public domains?


passos

Hey, unfortunately Railway won't be able to provide that. I would recommend looking into Railway's HTTP Logs tab or using observability tools like Sentry or OpenTelemetry, as they're typically able to record any outgoing domains. Also, can you share a screenshot of your Egress metrics?

montecoredevelopment
HOBBYOP

a month ago

Yes, of course. Here's a screenshot showing egress at 25-30MB per minute (this is a 6-hour chart timeframe, and one dot equals approximately one minute).

Attachments


montecoredevelopment
HOBBYOP

a month ago

Yes, that's right. Publishing is done via an internal join.

Attachments


passos

Hey, unfortunately Railway won't be able to provide that. I would recommend looking into Railway's HTTP Logs tab or using observability tools like Sentry or OpenTelemetry, as they're typically able to record any outgoing domains. Also, can you share a screenshot of your Egress metrics?

montecoredevelopment
HOBBYOP

a month ago

HTTP logs are empty

Attachments


danny
PRO

a month ago

if you're running node you could try overwriting the global fetch and logging requests from there?


Loading...