Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Jmeter is causing 4x latency for high volume of 429s due to backend microservice rate limiting compared to latency for 200 OK response

オープン
#6,570 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java

調査の方向性

まず、説明されている2つの JMeter シナリオ、つまり、指定された高いリクエスト量を使用した成功レスポンスと、50%の割合でレート制限された429レスポンスを再現します。JMeter が報告するレスポンスタイムとスループットをバックエンドまたは ingress のレイテンシーと比較し、そのうえで JMeter に429レスポンスの処理に関する制限があるかどうかを判断し、原因と証拠を記録します。

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

説明

defect to-triage
Expected behavior

Expected behaviour should be equal or less latency than 200 OK response.

Actual behavior

We are trying to simulate 3 million requests/min from jmeter to background service. When we don't have rate limiting, jmeter instances are able to generate 3 million request per min. But when we enable rate limiting, throughout is reduced by 1/4th of what we are using for all success (200 OK) responses. When we checked the latency at background service/ingress, latency seems to be fine. But jmeter reports 4 times higher response time. Is there any limitation of 429s on jmeter load generation? Why 429s are reducing throughput at jmeter and increasing the latency at Jmeter?

Steps to reproduce the problem
  1. Simulate very volume of test with all sucess response from a service
  2. Now repeat the test with enabling rate limiting for that service and configure rate limit to reject 50% of the requests.
  3. Now you should be able to see latency of 429s are 4x slower than 200 OK responses.
JMeter Version

latest

Java Version

latest

OS Version

Macos

主要言語
Java
スター
9.6k
フォーク
2.3k
平均マージ
20時間 42分
マージ済み PR(30日)
10

環境構築

はじめの一歩

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

apache/jmeter のほかの issue

apache/jmeter の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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