Cloudflare Workers compared to Amazon Cloudfront Functions

Cloudflare Workers
Versus
Amazon Cloudfront Functions

Features

Edge Features of Cloudflare Workers compared to Amazon Cloudfront Functions
Cloudflare WorkersFeaturesAmazon Cloudfront Functions
Functions / Serverless
javascript, rust, C/++Functions supported languagesJavaScript, Go, C/++, .NET, Node.js, PHP, Python, Ruby
Worker.js Environment
Docker supportYes, through EC2 Container Registry (ECR)
Docker private registry
Kubernetes support
Managed Kubernetes
200 popsAvailability regionsAll POPs connected to your Cloudfront property
128Default Memory (MB)128
128Maximum Memory (MB)3008
10Execution Time (ms)3,000
50Maximum Execution Time (ms)900,000
Request Payload (MB)6
Response Payload (MB)6
Unsupported Paid Feature Supported Unknown

Descriptions


Cloudflare Workers


Continuing their ongoing efforts to improve the internets global state, Cloudflare started to allow compute at their edge, eventually and essentially becoming a serverless/edge compute provider.

Cloudflare has an impressive global network presence and an even more impressive rate of pushing (open source or free) products to the market.

Unique about Workers is Key Value storage. Cloudflare’s low latency KV data store, optimized for high reads, low writes.

With a rich amount of example code to start out in your code of preference right away!


Amazon Cloudfront Functions


Amazon Cloudfront Function introduces cloud computing to every CloudFront pop around the globe.

Amazon Cloudfront Functions differs from Amazon’s Lambda@Edge because CloudFront’s servers have been located traditionally at the edges of Amazon’s gigantic global network of servers. This means CloudFront functions will run closer to the end-user than traditional Lambda’s, which usually run within customers' own VPN or behind loadbalancers.

With this change in approach, Amazon hopes to even further play into the serverless space that is to become the future of IaaS or Serverless as a Service.

Given Amazon’s massive reach and the tremendously popular CloudFront product, this will surely be a success going forward. Perhaps even replacing Amazon’s Lambda@Edge in the long term?