mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
## Problem Proxy might overload the control plane. ## Summary of changes Implement rate limiter for proxy<->control plane connection. Resolves https://github.com/neondatabase/neon/issues/5707 Used implementation ideas from https://github.com/conradludgate/squeeze/
7 lines
175 B
Rust
7 lines
175 B
Rust
mod aimd;
|
|
mod limit_algorithm;
|
|
mod limiter;
|
|
pub use aimd::Aimd;
|
|
pub use limit_algorithm::{AimdConfig, Fixed, RateLimitAlgorithm, RateLimiterConfig};
|
|
pub use limiter::Limiter;
|