Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rbtcollins/PythonVsRustAWSLambda
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: danielbeach/PythonVsRustAWSLambda
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Mar 3, 2023

  1. make some formatting updates

    Daniel Beach authored and Daniel Beach committed Mar 3, 2023
    Copy the full SHA
    7498c44 View commit details
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
  2. 0 { → pythonLambda}/python_main.py
  3. 0 { → rustLambda}/Cargo.toml
  4. 0 { → rustLambda/src}/main.rs
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# PythonVsRustAWSLambda
Testing the runtime difference between Python and Rust for AWS Lambda.

All AWS Lambda's must include a handler function `lambda_handler`, this is what
the lambda runtime will call be default.

When triggering these lambdas off an s3 event, it's important to note more
than one event might run though that lambda invocation, hence the
inital loop.

See the full blog post here https://www.confessionsofadataguy.com/aws-lambdas-python-vs-rust-performance-and-cost-savings/

`Rust` lambda.
You will need to add the crate `cargo-lambda`. It helps you package and build
the bootstrip binary needed for deployment.
To build the `bootstrap.zip` that your Rust AWS Lambda needs, run `cargo lambda build --release --output-format zip`
File renamed without changes.
File renamed without changes.
File renamed without changes.