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

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

#1931 in Asynchronous

Download history 894/week @ 2024-01-15 892/week @ 2024-01-22 796/week @ 2024-01-29 1048/week @ 2024-02-05 1111/week @ 2024-02-12 866/week @ 2024-02-19 1477/week @ 2024-02-26 1806/week @ 2024-03-04 1990/week @ 2024-03-11 2602/week @ 2024-03-18 2228/week @ 2024-03-25 2108/week @ 2024-04-01 2105/week @ 2024-04-08 2819/week @ 2024-04-15 2355/week @ 2024-04-22 2519/week @ 2024-04-29

10,004 downloads per month

MIT license

44KB
602 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
~34K SLoC