Metal is slow and dangerous for Railway
jvidalv
PROOP

19 days ago

Hello!

I did just migrate my project from Vercel + Supabase to Railway, colocating the front / api + potsgresql in a single project/instance.

I was so hyped as my expectation was that that would destroy the latency and make the app way snappier.

Oh boy I was wrong, latency not only was the same, but it was worse than Vercel (edge) + Supabase. Bummed, I was already exploring moving to a VPS for real colocation and leaving Railway.

Luckily reading threads around here I found that people where saying that METAL was the cause of slowness and indeed it was.

I toggled off metal on both the api and the postgres and I went from 500-1000ms requests to 50-150ms requests instantly. Almost a 10x improvement face_with_spiral_eyes emoji!!

Now I'm worried that you want to impose metal in the not-so-distant future. And also as a company, that your first experience for a customer is a x10 performance downgrade is not really good.

0 Replies

Loading...