Skip to content

digitalbase/lambda-circuitbreaker-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-circuitbreaker-node

About

This is a prototype implementation of the circuit breaker pattern in node/lambda. The pattern can be used to limit the number of calls to a rate limited 3th party API.

Inspiration

Parts of prototype:

  • mock AWS API Gateway with rate limits (see serverless.yml)
  • DynamoDB (one table/record) to keep circuitbreaker status (open/closed)
  • SQS queue to queue up the full workload
  • Fill queue function to fill the queue
  • Orchestrator that queues functions (calling the api)
  • CallAPI function that touches the API gateway

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published