#traffic #networking #congestion

chokepoint

Generic stream transformer to simulate traffic / network congestion

2 releases

new 0.1.1 Nov 19, 2024
0.1.0 Nov 19, 2024

#360 in Simulation

MPL-2.0 license

17KB
187 lines

chokepoint

A generic stream transformer that can be used to "shape traffic", e.g. to simulate network conditions.

Crates.io License

Supports various simulated network conditions, such as:

  • Delay (using a user provided function)
  • Packet loss
  • Packet reordering
  • Packet corruption
  • Packet duplication
  • Bandwidth limiting

See TrafficShaper for more information.

License: MPL-2.0


lib.rs:

A generic stream transformer that can be used to "shape traffic", e.g. to simulate network conditions.

Crates.io License

Supports various simulated network conditions, such as:

  • Delay (using a user provided function)
  • Packet loss
  • Packet reordering
  • Packet corruption
  • Packet duplication
  • Bandwidth limiting

See TrafficShaper for more information.

Dependencies

~4–10MB
~91K SLoC