Server rendering benchmarks: Fluid Compute and Cloudflare Workers
Blog post from Vercel
Independent developer Theo Browne conducted benchmarks comparing the performance of server-side rendering between Fluid compute and Cloudflare Workers, revealing that Fluid compute is generally faster and more consistent across different frameworks like Next.js, React, and SvelteKit. The benchmarks showed that Fluid compute, which runs in-cloud with configurable resources, performed 1.2 to 5 times faster than Cloudflare Workers, which operate with standard constraints for global edge deployment. Fluid compute's architecture allows for in-region deployment, reducing network latency for database queries and API calls, and it offers full runtime compatibility with Node.js, unlike Cloudflare's custom JavaScript runtime. This compatibility facilitates easier debugging and ensures that packages work as expected. Fluid compute supports high concurrency and flexible resource configuration, enabling efficient handling of both lightweight and compute-intensive workloads, thereby providing a platform that adapts to varied workload requirements rather than imposing constraints. The detailed benchmarks and methodology can be accessed on GitHub, offering insights into how deployment architecture influences performance for server rendering workloads.