4 months ago
Hello Team! 
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?
8 Replies
4 months ago
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 • 4 months 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.
4 months 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 • 4 months 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.
4 months 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?
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?
4 months 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
4 months 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?
4 months ago
HTTP logs are empty
Attachments
4 months ago
if you're running node you could try overwriting the global fetch and logging requests from there?
