Skip to content

Raw data and code used in my article on Edge Function performance.

License

Notifications You must be signed in to change notification settings

pauly4it/blog-post-edge-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

General performance results

The full article covering my testing methodology, results breakdown, and background information is available on Medium at go.foryt.com/edge-fn.

A copy of my article is also included in this repo for reference: 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