new feature: support key-based rate limit

オープン
#7,378 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
rust

調査の方向性

この issue にはファイル、テスト、エントリーポイントが記載されていません。まずクライアント側の rate-limit 設計と、提案されている count-min sketch アプローチを確認してください。完了とするには、合意されたキー単位の制限と、実装範囲の合意が必要です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Rust
スター
5.5k
フォーク
869
平均マージ
8時間 2分
マージ済み PR(30日)
862

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/opendal のほかの issue

apache/opendal の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。