1 unstable release

0.1.0 Nov 29, 2022

#9 in #sentinel

Apache-2.0

545KB
13K SLoC

Sentinel in Tower

Implement Sentinel as a service in Tower.

In the example directory, we provide an example for tonic.

Why Setinel?

Though tonic::transport::channel::Endpoint does provide methods like rate_limit() to construct middleware like tower::limit::rate::RateLimitLayer(), Sentinel provides more general and flexible high-reliability services.

And Sentinel will be the default traffic governance implentation for the OpenSergo standard.


lib.rs:

This crate provides the sentinel middleware for tonic. The are two kinds of middlewares in tonic.

Dependencies

~9–12MB
~209K SLoC