dotnet / dotnet/dev-proxy

Extend the rate limiting plugin with support for batches

オープン
#298 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
832
フォーク
89
平均マージ
12時間 1分
マージ済み PR(30日)
23

説明

Related to #8

Extend the rate limiting plugin with support for batching.

When processing batch responses, augment the response body of relevant requests that support rate limiting with rate limiting headers. Use the existing logic to determine the headers to add.
When processing batch requests, examine the request payload to see if all requests are within rate limits. Fail the request with a 429 if it exceeded the limit. Return 203 Non-Authoritative Information status code with an empty body for all other requests.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

レート制限プラグインと、レート制限ヘッダーを判定して追加する既存のロジックから始めます。バッチリクエストとレスポンスがどのように処理されるかを追跡し、レート制限されたリクエストが429レスポンスを返し、それ以外のリクエストが空のボディとともに203を返すこと、そして関連するバッチレスポンスにヘッダーが含まれることを確認します。

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

評価

技術スタック
csharp
領域
api, devtools
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

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

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