failure-lambda
aws-lambda-chaos-injection
Our great sponsors
failure-lambda | aws-lambda-chaos-injection | |
---|---|---|
3 | 1 | |
90 | 99 | |
- | - | |
0.0 | 4.7 | |
about 1 year ago | 6 months ago | |
JavaScript | Python | |
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.
aws-lambda-chaos-injection
-
Chaos engineering for serverless with AWS Fault Injection Simulator
chaos_lambda is a small library injecting chaos into AWS Lambda. It offers simple python decorators to do delay, exception and statusCode injection for your AWS Lambda function. This allows to conduct small chaos engineering experiments for your serverless application in the AWS Cloud. https://github.com/adhorn/aws-lambda-chaos-injection
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.
aws-fis-templates-cdk - Collection of AWS Fault Injection Simulator (FIS) experiment templates deploy-able via the AWS CDK
chaotic - Chaos for Clouds
serverless-layers - Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
aws-config-rdk - The AWS Config Rules Development Kit helps developers set up, author and test custom Config rules. It contains scripts to enable AWS Config, create a Config rule and test it with sample ConfigurationItems.
lambda-circuit-breaker
chaos-controller - :monkey: :fire: Datadog Failure Injection System for Kubernetes
serverless-micro-django - Lightweight yet powerful python utility for lambda functions, Use Django ORM in your Python lambda functions
cloudformation-templates - Templates which can be used to automate infrastructure deployments in AWS
devops-exercises - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
aws-secrets-manager-rotation-lambdas - Contains Lambda functions to be used for automatic rotation of secrets stored in AWS Secrets Manager