Amazon Cloudfront Functions compared to Fastly Edge Compute

Amazon Cloudfront Functions
Versus
Fastly Edge Compute

Features

Edge Features of Amazon Cloudfront Functions compared to Fastly Edge Compute
Amazon Cloudfront FunctionsFeaturesFastly Edge Compute
Functions / Serverless
JavaScript, Go, C/++, .NET, Node.js, PHP, Python, RubyFunctions supported languagesRust, Javascript, VCL
Worker.js Environment
Yes, through EC2 Container Registry (ECR)Docker support
Docker private registry
Kubernetes support
Managed Kubernetes
All POPs connected to your Cloudfront propertyAvailability regionsWorldwiode (all 72 pops)
128Default Memory (MB)
3008Maximum Memory (MB)
3,000Execution Time (ms)
900,000Maximum Execution Time (ms)
6Request Payload (MB)
6Response Payload (MB)
Unsupported Paid Feature Supported Unknown

Descriptions


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?


Fastly Edge Compute


Fastly, traditionally a CDN, was one of the first CDNs that openly and actively promoted it’s edge worker technology.

Fastly has been open and quick when it comes to adding features and functionality to their Serverless product. The platform is runs on WASM logic (with JIT compilation). All in all, one could expect very fast responses when it comes to running your application on Fastly.

Fastly has a unique online fiddler tool to experiment and try different Edge features and functionality without even having to register, live log tailing and individual end-user request trailing. A notable customer of Fastly’s Edge Compute platform is LoveHolidays.