R
Railway•13mo ago
armaan

Evaluating Railway vs Vercel

Hey there, I know that posting such a thing will probably give me more answers biased toward Railway but I'm still interested to hear people's thoughts from this server. I currently have a Next.js project hosted on Vercel and I've been satisfied with Vercel and it's relative ease of use. The project in question is doing quite good and has recently surpassed its free usage plan on Vercel and as such Vercel is now prompting me to upgrade. Vercel however is kinda expensive 😅 so I'm not sure if I want to stick with the platform. So I'm just wondering how I can evaluate the cost savings (if there would even be any) if I switch over to Railway from Vercel. Oh yea and one other thing that's somewhat unrelated and goes off on a different tangent. For context, my Next.js app hosts both the frontend and all the API routes that power the backend. This project in question largely centers around API calls to an external API. Only problem is as my project has grown, my users are increasingly hitting 429s that are thrown by the external API. If I switch over to Railway, could I mitigate these rate limits, and if so, how would I go about doing so? This is my first time dealing with something like this so I have no idea what to do. Thanks everyone!
3 Replies
Percy
Percy•13mo ago
Project ID: N/A
armaan
armaanOP•13mo ago
N/A
Brody
Brody•13mo ago
ill try not to be biased
I know that posting such a thing will probably give me more answers biased toward Railway
Vercel is better for frontend compared to railway, thats what they do, railway is more so for backend
The project in question is doing quite good and has recently surpassed its free usage plan on Vercel and as such Vercel is now prompting me to upgrade.
railway would ask you to do the same at some point too, and full transparency, its likely your app doesn’t fit the hobby plan use-case already
So I'm just wondering how I can evaluate the cost savings (if there would even be any) if I switch over to Railway from Vercel.
railway just charges for resource usage, theres a decent chance its a bit cheaper, but maybe not when you factor in the pro plan cost, but to be sure on the costs you would need to know how much resources your app uses https://railway.app/pricing
my users are increasingly hitting 429s that are thrown by the external API. If I switch over to Railway, could I mitigate these rate limits, and if so, how would I go about doing so?
railway doesnt have any mechanism to do this, you either have to implement it yourself in your code, or stick cloudflare in front
Want results from more Discord servers?
Add your server