https://github.com/pauly4it/blog-post-edge-functions
Raw data and code used in my article on Edge Function performance.
https://github.com/pauly4it/blog-post-edge-functions
cloudflare-workers cloudfront-functions lambda-edge serverless
Last synced: 10 months ago
JSON representation
Raw data and code used in my article on Edge Function performance.
- Host: GitHub
- URL: https://github.com/pauly4it/blog-post-edge-functions
- Owner: pauly4it
- License: mit
- Created: 2022-03-28T20:34:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-30T18:11:38.000Z (about 4 years ago)
- Last Synced: 2025-08-02T22:58:41.592Z (11 months ago)
- Topics: cloudflare-workers, cloudfront-functions, lambda-edge, serverless
- Language: Jupyter Notebook
- Homepage: https://go.foryt.com/edge-fn
- Size: 891 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Edge Function Blog Post Data and References
This repo contains the raw performance data, function code, testing code, and data analysis for my performance comparison of AWS CloudFront Functions, AWS Lambda@Edge, and Cloudflare Workers.
My findings show CloudFront Functions are 20% faster than Cloudflare Workers and 230% faster than Lambda@Edge when used as a short link forwarding service:

The full article covering my testing methodology, results breakdown, and background information is available on Medium at [go.foryt.com/edge-fn](https://go.foryt.com/edge-fn).
- And yes, that is a short link using my CloudFront Function code (GitHub repo: [cloudfront-short-url-redirect](https://github.com/pauly4it/cloudfront-short-url-redirect)).
A copy of my article is also included in this repo for reference: [article.md](article.md).
## Contents
- `/assets` - Images used in my blog post
- `/data` - Curl performance data output in CSV format for each function
- `/functions` - Function code specific to each service
- `/notebooks` - Jupyter Notebook with performance calculations
- `/tests` - GitHub Workflow example to run curl against 5 different paths for a base URL
## Setup
To run the Jupyter Notebook locally, first install the required packages using pip:
`pip install -r notebooks/requirements.txt`