Server rendering benchmarks: Railway vs Cloudflare vs Vercel
Blog post from Railway
Independent developer Theo Browne conducted benchmarks comparing server-side rendering (SSR) performance across Cloudflare Workers and Vercel Functions, initially showing Cloudflare lagging but later outperforming after updates. Railway joined the comparison, deploying tests on both Node.js and Bun, and found it excelled in SvelteKit and Vanilla JS benchmarks, while Vercel led in Next.js and Cloudflare in Math and React SSR. The benchmarks tested SSR by dynamically rendering complex pages with computation-intensive workloads, revealing differences in performance based on deployment models, with Cloudflare and Vercel using a serverless approach, while Railway employed long-running servers. Railway's performance improved with increased replicas, suggesting the significance of horizontal scaling, although Next.js deployment on Railway faced limitations due to its single CPU core use. The benchmarks highlighted the impact of platform infrastructure, runtime choices, and deployment strategies on performance, and Railway plans to continue refining its services and collaborating on open benchmarks to enhance real-world applicability.