---
title: "Server rendering benchmarks: Railway vs Cloudflare vs Vercel"
description: "Running Theo Browne's SSR benchmark suite (400 requests, 20 concurrent connections, from an EC2 client in us-west-1) against Railway with 10 replicas, Cloudflare Workers and Vercel Functions gave mixed results."
url: "https://swe.quest/articles/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel-d854a3e98b5ee41e"
canonical: "https://blog.railway.com/p/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel"
source: "Railway"
published: "2025-10-20"
difficulty: "medium"
kind: "Research"
reading_minutes: 10
tags: ["performance","serverless","javascript","cloud"]
---

# Server rendering benchmarks: Railway vs Cloudflare vs Vercel

A post on [Railway](https://swe.quest/sources/railway.md), published 2025-10-20, 10 min read, Research. Original: [https://blog.railway.com/p/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel](https://blog.railway.com/p/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel)

## Summary

Running Theo Browne's SSR benchmark suite (400 requests, 20 concurrent connections, from an EC2 client in us-west-1) against Railway with 10 replicas, Cloudflare Workers and Vercel Functions gave mixed results. Railway won SvelteKit and Vanilla JS by roughly 3-4×, React SSR was close, and Vercel and Cloudflare led on Next.js and the math workload. Bun beat Node on Railway for most tests but lost on math. Next.js is limited to a single CPU core, so it only scales horizontally. Node also builds V8 without a faster trig-function path that Workers enables, and container runtimes cost about 40% versus native, a gap Railway expects a new VM runtime to close.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- server-side rendering
- serverless functions ([easy posts on Serverless](https://swe.quest/tags/serverless.md?difficulty=easy))
- Node.js runtime basics ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Railway, Cloudflare Workers, Vercel Functions, Next.js, SvelteKit, Bun, Node.js, V8

## Related posts

- [Deploy Full-Stack TypeScript Apps: Architectures, Execution Models, and Deployment Choices](https://swe.quest/articles/deploy-full-stack-typescript-apps-architectures-execution-models-and-deployment-888e3aeeebdaa840.md): Railway · 2025-12-01 · Easy · 14 min read · Serverless, TypeScript, Deployment, System design, Cloud platforms
  Full-stack TypeScript apps can be structured either as a single framework codebase (Next.js, SvelteKit, TanStack Start) or as independently deployed services in a monorepo, and the choice interacts with whether you deploy to serverless platforms or long-running servers.
- [How we built JSR](https://swe.quest/articles/how-we-built-jsr-b17e975077f4123a.md): Deno · 2024-04-12 · Medium · 18 min read · System design, JavaScript, Web performance, Rust, PostgreSQL
  JSR, the JavaScript Registry, splits into components with different reliability targets: a highly available Postgres cluster behind a Rust/Hyper API on Google Cloud Run targeting 99.9%, and a global CDN for package source and npm tarballs targeting 100% uptime.
- [Bun 1.2](https://swe.quest/articles/bun-1-2-646ed14b09e00278.md): Bun · 2025-01-22 · Medium · 56 min read · JavaScript, Runtimes & VMs, Cloud platforms, PostgreSQL, Performance engineering
  Bun 1.2 makes a major push on Node.js compatibility by porting thousands of files from the Node.js test suite into Bun's CI, with stubbed internal bindings and assertions on error name/code rather than message text.
- [Node.js at scale, rebalanced: how we cut cost by 38%](https://swe.quest/articles/node-js-at-scale-rebalanced-how-we-cut-cost-by-38-1008b397ea498cc9.md): Booking.com Engineering · 2026-09-29 · Medium · 17 min read · JavaScript, Performance engineering, Cost optimization, Load balancing, Runtimes & VMs
  Booking.com cut compute costs for its largest Node.js React SSR service by 38% (30% fewer pods, 20% less memory per pod, up to 10% lower tail latency) without touching service code, by moving from pm2's cluster-based processes to wattpm worker threads and revisiting long-untouched configuration.
- [Which serverless edge platform has the fastest git deployments?](https://swe.quest/articles/which-serverless-edge-platform-has-the-fastest-git-deployments-69b26442e40d1aeb.md): Deno · 2022-10-20 · Medium · 9 min read · Serverless, Deployment, CI/CD, CDN & edge
  A push-to-live benchmark of git deployments across edge platforms, timed with a Deno script that pushes to main and polls the site until a marker string appears.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
