Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Traffic throttling / generation #3

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

aesteve
Copy link
Collaborator

@aesteve aesteve commented May 17, 2022

  • Design: how do we read this from env. variables, what's the default?
  • Rust implementations
  • Python implementations
  • Java implementations
  • .NET implementations

Design-wise, the following env. variables could used:

  • RATE_LIMIT_PER_SEC, defaults to -1, meaning "no throttling", best-effort
  • RATE_LIMIT_STRATEGY=throttle or RATE_LIMIT_STRATEGY=poisson to choose the traffic gen strategy, defaulting to "throttle" (and crash if there's no RATE_LIMIT_PER_SEC)

@jeanlouisboudart OK with this?

Sorry, something went wrong.

@aesteve aesteve changed the title WIP: traffic generation WIP: Traffic throttling / generation May 17, 2022
@aesteve aesteve marked this pull request as draft May 17, 2022 06:36
@jeanlouisboudart
Copy link
Owner

@aesteve I'm fine with the proposed spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants