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

Sample request: Rate limiting or semaphore implemented as a workflow #314

Open
cretz opened this issue Nov 3, 2023 · 0 comments
Open

Sample request: Rate limiting or semaphore implemented as a workflow #314

cretz opened this issue Nov 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cretz
Copy link
Member

cretz commented Nov 3, 2023

Describe the solution you'd like

Want a simple rate limit library that is backed by a workflow. Can be a simple acquire/release workflow based on bidirectional signals, with the acquire/release abstracted as a rate limiter interface. Then, we need a default implementation of said interface that is just token bucket based w/ refill.

@cretz cretz added the enhancement New feature or request label Nov 3, 2023
@cretz cretz changed the title Sample request: Rate limiting implemented as a workflow Sample request: Rate limiting or semaphore implemented as a workflow Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant