Skip to content

uscheller/aws-lambda-runtime-pypy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

aws-lambda-runtime-pypy

Custom Runtime for AWS Lambda using the Pypy interpreter. This was inspired by the AWS Tutorial for creating a Custom Runtime

This runtime is experimental and a Proof of Concept.

Details

  • Uses a plain Pypy distribution downloaded from https://pypy.org/download.html
  • Deployed package is below 20 MB in size (manually removed unnecessary Python libraries)
  • Long running tasks benefit from using Pypy on Lambda
  • Short running, not CPU limited tasks are better off using the default Python runtime

Usage

You should have your AWS tools and credentials set up and the Serverless Framework installed.

Run

sls deploy

for deploying this example Lambda based on a Pypy runtime to AWS.

Credits

Created by Ulrich Scheller

More details can be found in this blog post

About

Custom Runtime for AWS Lambda using the Pypy interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published