solana/streamer/src/nonblocking
Lijun Wang f54c120450
Connection rate limiting (#948)
* use rate limit on connectings

use rate limit on connectings; missing file

* Change connection rate limit to 8/min instead of 4/s

* Addressed some feedback from Trent

* removed some comments

* fix test failures which are opening connections more frequently

* moved the flag up

* turn off rate limiting to debug CI

* Fix CI test failures

* differentiate of the two throttling cases in stats: across connections or per ip addr

* fmt issues

* Addressed some feedback from Trent

* Added unit tests

Cleanup connection cache rate limiter if exceeding certain threshold

missing files

CONNECITON_RATE_LIMITER_CLEANUP_THRESHOLD to 100_000

clippy issue

clippy issue

sort crates

* revert Cargo.lock changes

* Addressed some feedback from Pankaj
2024-05-14 17:33:43 -07:00
..
connection_rate_limiter.rs Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
keyed_rate_limiter.rs Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
mod.rs Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
quic.rs Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
rate_limiter.rs Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
recvmmsg.rs sdk: Make Packet::meta private, use accessor functions (#29092) 2022-12-06 12:54:49 +01:00
sendmmsg.rs improve batch_send error handling (#33936) 2023-10-31 23:39:26 -07:00
stream_throttle.rs sleep instead of drop when stream rate exceeded limit; (#939) 2024-04-22 22:16:57 -07:00