2 months ago
I have a project on railway that takes around 10$ per month, it has: redis, database, bucket, react router ssr app
The thing is, I have another project with the same config that is way cheaper to run (using more of those services), I'm trying to debug why but couldnt understand why, this is worrying me because the app has no users and is already costing 10$ a month XD
7 Replies
2 months ago
@Brody thanks, created here, hope it can be solveable XD
2 months ago
I will bounty this thread.
2 months ago
thanks, sorry for bothering you, btw im going to migrate to tanstack start, maybe it will be fixed
2 months ago
SSR can be resource-intensive due to server-side processing on each request, potentially driving up compute costs even with low traffic.
The cheaper project might be more efficient due to better optimization, lower resource allocation, or less actual usage.
If you provide more details on your use case, I can refine this further.
2 months ago
the funny thing is, the cheaper one has the same tech stack (SSR also), has more usage/users, and is getting cheaper, I dont know if i can share the project here, but if im allowed, would gladly do so, the only thing i can see different is the sharp on the backend to generate thumbnails, but I see a lot of websites doing that and it doesnt seem like it takes a lot of resources also
2 months ago
Can you share a breakdown of the resource usage?
2 months ago
redis: 1gb disk usage (constant)
postgres: 198 disk usage (constant)
web app: 277 RAM usage (I don't use serverless because RR7 takes too long to boot up, 5 seconds), sometimes it goes to 400mb without any requests