Cloudflare

Comparing Serverless Performance for CPU Bound Tasks

Jul 9, 2018Zack Bloom
Comparing Serverless Performance for CPU Bound Tasks
SummaryAI, from the source post

This post benchmarks Cloudflare Workers against AWS Lambda and Lambda@Edge for CPU-bound tasks, specifically using PBKDF2 for password hashing. It demonstrates that Workers are significantly faster (up to 7x) and more cost-effective than Lambda, even when Lambda is configured with maximum memory. The tests also show that native binaries in Lambda do not offer a performance advantage over JavaScript for these types of workloads. The post highlights the global distribution of Workers as a key differentiator.

More from the Edge Computing with Cloudflare Workers trail