Crates.io | aws-lambda-runtime-proxy |
lib.rs | aws-lambda-runtime-proxy |
version | 0.3.0 |
source | src |
created_at | 2024-04-01 12:22:56.834281 |
updated_at | 2024-10-10 07:30:40.190961 |
description | A helper lib to customize the communication between the lambda handler process and the lambda runtime api. |
homepage | |
repository | https://github.com/DiscreteTom/aws-lambda-runtime-proxy |
max_upload_size | |
id | 1192458 |
size | 32,324 |
A helper lib to customize the communication between the lambda handler process and the lambda runtime api.
See the examples folder for more details.
Some real world cases:
AWS_LAMBDA_RUNTIME_API
.This library will do the following:
Based on this setup, you can write your own logic to process the requests and responses between the handler process and the AWS Lambda runtime API.
See benchmark. TLDR: the proxy will introduce less than 2ms latency, which is acceptable for most use cases.