Migrate from Vercel
abdulazizbinfahad
PROOP

a year ago

Hello everyone

I’m coming from Vercel, and I have an application with over 70,000 daily users. Due to the high costs, I’m considering moving it to Railway. I would like to know if all Next.js features are fully supported on your platform.

Additionally, if I migrate my app to Railway, will the costs be significantly lower while ensuring that all Next.js functionalities remain intact?

Solved

14 Replies

dev
MODERATOR

a year ago

N/A


dev
MODERATOR

a year ago

Hey, I'm very happy to hear you're considering Railway
I'll answer your questions to the best of my ability but note I've never used NextJS or Vercel so I might miss some things

I believe all NextJS features would be possible on Railway. It's important to note however that Vercel is purpose built for serving frontend websites and Railway is more for general-purpose dockerized hosting, that's not to say Railway can't serve frontend well but it's not built directly for that purpose so additional setup might be required (such as serving through reverse proxy or creating multi-region replicas)

Since Vercel is serverless, pricing can go from extremely cheap for small applications to extremely expensive for big applications. Railway on the other hand would also scale cost with application size but not as severely as a serverless host like Vercel. Meaning theoretically it should be cheaper to host on Railway, although this would largely depend on the effeciency of your application and the resources it requires

Please keep in mind that I've never used Vercel before, this answer is purely based on what I generally know about serverless vs serverful hosting


maddsua
HOBBY

a year ago

But I have used vercel before and what I can say is that yes, railway can definitely run it. A problem however would be that nextjs is purposefully built to fit vercel's infrastructure. They don't do as good of a job supporting other runtimes (like node in a docker, for example)

My recommendation would be for you to try deploying to railway and giving it some synthetic load (quite literally blasting it with a tool like ali load tester)


abdulazizbinfahad
PROOP

a year ago

thanks a lot for this explain

i will try to transfer it from to railway for a day to test it

while that is not best solution cuz this maybe will throw some errors for users

but I'm trying to understand different between serverless and if i run it on normal server


adam
MODERATOR

a year ago

You should not have to take down your vercel website for testing, just host the website on Railway in addition to vercel, but don’t mess with domains. Railway provides a up.railway.app domain for free for every service


adam
MODERATOR

a year ago

Once you’ve hosted the site, blast it with fake traffic until
your estimated cost flattens out


adam
MODERATOR

a year ago

Also worth noting, [Railway.com](Railway.com) is a NextJS site running on Railway!


abdulazizbinfahad
PROOP

a year ago

users on app use apis and DB while traffic its hard to do that as fake traffic


abdulazizbinfahad
PROOP

a year ago

thanks a lot @Adam


adam
MODERATOR

a year ago

No problem!


dev
MODERATOR

a year ago

Do you have any other questions?


abdulazizbinfahad
PROOP

a year ago

no thanks


dev
MODERATOR

a year ago

Awesome, glad we could help 🫡


dev
MODERATOR

a year ago

!s


Status changed to Solved dev about 1 year ago


Loading...