temporalio / temporalio/temporal
Task list with rate limiting per key
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
There are multiple use cases that require rate limiting per dynamically created list of keys. For example some downstream API has rate limit per calling customer. This is possible to achieve using task list throttling, but as the set of keys is usually dynamic managing client side workers is a non trivial task.
The proposed feature is to provide a special task list type that would support rate limiting per some "partition key". So when an activity is scheduled the key should be provided when invoking it. And on the worker side no changes are needed (besides the mechanism to configure the task list itself).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.