#load #tower #tower-middleware #service #inner #request #ready

tower-load-shed

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.

4 releases

0.3.0 Dec 19, 2019
0.3.0-alpha.2 Oct 1, 2019
0.3.0-alpha.1 Sep 11, 2019
0.1.0 Apr 27, 2019

#2302 in Asynchronous

Download history 2021/week @ 2024-10-31 2287/week @ 2024-11-07 1839/week @ 2024-11-14 1609/week @ 2024-11-21 1852/week @ 2024-11-28 1955/week @ 2024-12-05 2392/week @ 2024-12-12 1230/week @ 2024-12-19 545/week @ 2024-12-26 1677/week @ 2025-01-02 2274/week @ 2025-01-09 2283/week @ 2025-01-16 2361/week @ 2025-01-23 2540/week @ 2025-01-30 3262/week @ 2025-02-06 1669/week @ 2025-02-13

10,258 downloads per month

MIT license

44KB
587 lines

Tower Load Shed

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.


lib.rs:

Tower middleware for shedding load when inner services aren't ready.

Dependencies

~1.5MB
~39K SLoC