failure-lambda
serverless-layers
Our great sponsors
failure-lambda | serverless-layers | |
---|---|---|
3 | 1 | |
90 | 223 | |
- | - | |
0.0 | 6.7 | |
about 1 year ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
failure-lambda
-
Chaos engineering for serverless with AWS Fault Injection Simulator
failure-lambda is a small Node module for injecting failure into AWS Lambda. It offers a simple failure injection wrapper for your Lambda handler where you then can choose to inject failure by setting the failureMode to latency, exception, denylist, diskspace or statuscode. https://github.com/gunnargrosch/failure-lambda
-
What do you mean with: "There is no root cause" ?!?
In one of our last projects, I started using Failure-Lambda module from Gunnar Grosch to be able to inject failure in our system. Not yet in production, but it helped a lot during the test and staging phase to detect and handle possible errors that we overlooked. (If you want to know more about Chaos Engineering and Failure Lambda check out this post) So I was very eager to see his speech about Chaos Engineering at the Hamburg Serverless Days.
-
Circuit Breaker Solution for AWS Lambda Functions
A common approach is to implement a circuit breaker inside your function and use DynamoDB to store the circuit breaker state (like Gunnar Groschβs failure lambda node.js implementation and Jeremy Daly outlines in his AWS Reference Architecture Pattern). The Lambda function will fail before calling the Third-Party API when a failure threshold has been exceeded. This protects the downstream service, but it will not stop AWS Lambda polling the upstream queue and invoking your function. You also have to make changes to lambda function code, specific to the particular Lambda runtime and programming language. The approach introduces a number of DynamoDB requests which could significantly increase costs.
serverless-layers
-
Manage Python dependencies in Serverless projects with serverless-layers plugin
One of the first hits when searching for solutions to manage Python dependencies in Serverless projects is the popular serverless-python-requirements plugin. However serverless-layers is a plugin that can work just as well.
What are some alternatives?
aws-lambda-power-tuning - AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.
serverless-plugin-warmup - Keep your lambdas warm during winter. β¨
aws-lambda-chaos-injection - Chaos Injection library for AWS Lambda
serverless-python-requirements - β‘οΈππ¦ Serverless plugin to bundle Python packages
aws-fis-templates-cdk - Collection of AWS Fault Injection Simulator (FIS) experiment templates deploy-able via the AWS CDK
chalice - Python Serverless Microframework for AWS
lambda-circuit-breaker
serverless-python-requirements - β‘οΈππ¦ Serverless plugin to bundle Python packages [Moved to: https://github.com/serverless/serverless-python-requirements]
lambda-flame - Extract a flame graph directly from your lambda function. Supported runtimes: Nodejs. π₯
Grant - OAuth Proxy
serverless-chrome - π Run headless Chrome/Chromium on AWS Lambda
serverless-wsgi - Serverless plugin to deploy WSGI applications (Flask/Django/Pyramid etc.) and bundle Python packages