new feature: support key-based rate limit

Open
#7,378 5 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust

Research direction

The issue names no files, tests, or entry points. Start by reviewing the client-side rate-limit design and the proposed count-min sketch approach; done would require an agreed key-based limit and implementation scope.

Written by the indexing model from the issue text.

Description

enhancement releases-note/feat
Feature Description

Hi team, in production usage we've found hot key impacting storage service (the classic hotspotting issue for distributed system). I'm wondering apart from server-side support, if it's possible to add hotkey rate limit at client side as well, so we could

Problem and Solution

I'm wondering if we could add key-based rate limit, one viable data structure could be count-min sketch.

Additional Context

No response

Are you willing to contribute to the development of this feature?
  • Yes, I am willing to contribute to the development of this feature.
Dominant language
Rust
Stars
5.5k
Forks
869
Avg merge
8h 2m
Merged PRs (30d)
862

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/opendal

All issues in apache/opendal

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.