Open najamelan opened 5 years ago
https://github.com/brunocodutra/ring-channel
This will prevent both DDOS with bounded channels and Unbounded memory consumption with unbounded channels at the price of dropping events.
It also has a general use case for situations where you want to take into account only the most recent event(s).
https://github.com/brunocodutra/ring-channel
This will prevent both DDOS with bounded channels and Unbounded memory consumption with unbounded channels at the price of dropping events.
It also has a general use case for situations where you want to take into account only the most recent event(s).