Skip to content

Releases: kevinconway/loadshed

v2 Release

12 Jan 13:54
87f3bed
Compare
Choose a tag to compare

The original implementation of this library was useful but bundled some assumptions about the specific operational details of systems managed by the development team (which included me). Notably, all metrics were converted to rejection rates based on the same formula that was used internally and the integrated CPU metric assumed that all code ran on VMs rather than containers.

This version takes the same concepts from the original and breaks them down into more granular components to make the library more adaptable to different situations. Some of the notable changes include:

  • Update the rolling window library to include bug fixes and performance optimizations
  • Add support request classification
  • Add support for deterministic load shedding rules
  • Separate the capacity, failure probability, and rejection rate concepts
  • Remove all 3rd party integrations

Drop in replacement for github.com/asecurityeam/loadshed

12 Jan 03:08
Compare
Choose a tag to compare

This release contains the exact same code as https://github.com/asecurityteam/loadshed/releases/tag/v1.2.0.

The only change to the repository is that I've replaced usage of github.com/asecurityteam/rolling with github.com/kevinconway/rolling. You should be able to replace any import of github.com/asecurityteam/loadshed with github.com/kevinconway/loadshed either in source code or with a module file replace directive.