perseverance

Make your functions resilient and fail-fast to failures or delays

MIT License

Downloads
115
Stars
13
Committers
5

Make your functions πŸ’ͺ resilient and πŸš₯ fail-fast to πŸ’© failures or ⌚ delays

Add rate limit, retry and circuit-breaker behaviour to your functions.

Features

  • Limits βœ‹ rate of executions to comply with third-party API limits βœ…
  • Retries πŸ’© failing executions in temporary, unexpected system and πŸ’₯ network failures βœ…
  • Uses circuit breakers to πŸš₯ fail-fast until it is safe to retry βœ…
  • Supports Bluebird 🐦 promises βœ…

How to install

npm install perseverance

How to contribute

You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.

All donation proceedings will go to the Sverige fΓΆr UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.

Used by

License

Read the license for permissions and limitations.

Package Rankings
Top 6.76% on Npmjs.org
Badges
Extracted from project README
Coverage Status Known Vulnerabilities Version Downloads Greenkeeper badge