6 months ago
Hi
I have a low usage project that is rising in users, and i'm trying to optimize my costs for the future.
I see that the majority of my bill is due to my frontend service which is a game with lots of images.
Before moving my images to a different more specialized provider, I want to make sure that the cause are those images.
Is it any way to get a more detailed report of the requests causing the high bill? I?m talking about a 95% of my bill coming from my frontend service.
3 Replies
6 months ago
Egress is definitely the biggest piece of your current bill. Have you looked at the public v private networking setup on Railway?
Status changed to Awaiting User Response railway[bot] • 6 months ago
parmstar
Egress is definitely the biggest piece of your current bill. Have you looked at the public v private networking setup on Railway?https://docs.railway.com/guides/networking
6 months ago
Yes, but is the frontend that is making the most of the bill, is supposed to have egress requests. And the users call the backend directly on each request. So there is just little interaction in the infra.
Or can be something i'm not seeing or understanding?
Status changed to Awaiting Railway Response railway[bot] • 6 months ago
6 months ago
Your frontend is simply sending that much outbound traffic, there's nothing we can do for you on that front. You should add cache via Cloudflare or consider using a CDN to serve the static assets. That way you will not be constantly egressing.
Status changed to Awaiting User Response railway[bot] • 6 months ago
Status changed to Solved parmstar • 6 months ago