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

Add Factory Method for Flexible Rate Limiting Policy Configuration #13

Open
neelp03 opened this issue Oct 18, 2024 · 0 comments
Open

Add Factory Method for Flexible Rate Limiting Policy Configuration #13

neelp03 opened this issue Oct 18, 2024 · 0 comments

Comments

@neelp03
Copy link
Owner

neelp03 commented Oct 18, 2024

Description:
Implement a factory method that allows users to dynamically choose and configure rate-limiting policies. This will improve flexibility in the selection of rate-limiting algorithms and their parameters.

Acceptance Criteria:

  • Implement the factory method in ratelimiter to support dynamic policy configuration.
  • Provide configuration for all existing policies (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket).
  • Add unit tests to validate the factory method behavior.
  • Update examples and documentation to show how the factory method works.
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

No branches or pull requests

1 participant