Content Deep Dive
Comparing Serverless Performance for CPU Bound Tasks
Blog post from Cloudflare
Post Details
Company
Date Published
Author
Zack Bloom
Word Count
1,066
Company Posts That Month
Language
English
Hacker News Points
-
Summary
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.
Trends Found in this Post
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Serverless | 24 | 313 | 30 | 14 | +198% |