solana-with-rpc-optimizations/streamer
Pankaj Garg 904700cc56
Use EMA to compute QUIC streamer load for staked connections (#34586)
* Use EMA to compute QUIC streamer load for staked connections

* change min load to 25% of max load

* reduce max PPS from 500K to 250K

* update ema_function to account for missing intervals

* replace f64 math with u128

* track streams across all connections for a peer

* u128  -> u64

* replace ' as ' type conversion to from and try_from

* add counter for u64 overflow

* reset recent stream load on ema interval

* do not use same counter for unstaked connections from a peer IP
2024-01-11 10:05:38 -08:00
..
src Use EMA to compute QUIC streamer load for staked connections (#34586) 2024-01-11 10:05:38 -08:00
tests sdk: Make Packet::meta private, use accessor functions (#29092) 2022-12-06 12:54:49 +01:00
Cargo.toml replaces assert!(matches!(...)) with assert_matches!(...) (#33068) 2023-08-30 13:48:27 -04:00