Comparing Serverless Performance for CPU Bound Tasks
In a comparison of performance between Cloudflare Workers and other serverless providers, it was found that Workers are seven times faster than a default Lambda function for CPU-intensive workloads. The PBKDF2 algorithm, designed to be slow to compute, was used as a benchmark for the CPU performance of these services. Cloudflare Workers were also six times faster than [email protected] when tested globally. The results showed that Lambda is slower and more expensive than Workers on a per-cycle basis. Additionally, native code execution in Lambda did not significantly improve its performance compared to JavaScript.
Company
Cloudflare
Date published
July 9, 2018
Author(s)
Zack Bloom
Word count
1066
Hacker News points
None found.
Language
English