aws-fis-templates-cdk
failure-lambda
Our great sponsors
aws-fis-templates-cdk | failure-lambda | |
---|---|---|
2 | 3 | |
53 | 90 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
TypeScript | 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.
aws-fis-templates-cdk
-
Chaos engineering for serverless with AWS Fault Injection Simulator
Enables support for putting configuration in parameter store to enable AWS Lambda faults via libraries. https://github.com/adhorn/aws-fis-templates-cdk/blob/main/lib/fis-upload-ssm-docs/documents/ssma-put-config-parameterstore.yml
- Collection of AWS Fault Injection Simulator (FIS) experiment templates deploy-able via with the AWS CDK
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.
What are some alternatives?
litmus - Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
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-lambda-chaos-injection - Chaos Injection library for AWS Lambda
datasource - Grafana data source plugin for Chaos Mesh.
serverless-layers - Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
chaos-controller - :monkey: :fire: Datadog Failure Injection System for Kubernetes
lambda-circuit-breaker
event-store-aws-cdk - A cdk TS example project that deploys an event-store in aws