gateway icon indicating copy to clipboard operation
gateway copied to clipboard

docs: Mismatch Between Documented and Actual Output in Circuit Breaker Doc

Open melsal13 opened this issue 1 year ago • 3 comments

Receiving an output that does not match the expected output from the docs when I run the Hey Load simulation.

After applying the BTP config I received the following output: hey -n 100 -c 100 -host "www.example.com" "http://${GATEWAY_HOST}/?delay=10s"

Summary: Total: 10.0500 secs Slowest: 10.0497 secs Fastest: 10.0433 secs Average: 10.0452 secs Requests/sec: 9.9503

Total data: 52800 bytes Size/request: 528 bytes

Response time histogram: 10.043 [1] |■ 10.044 [14] |■■■■■■■■■■■■■■■■■■ 10.045 [31] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 10.045 [15] |■■■■■■■■■■■■■■■■■■■ 10.046 [13] |■■■■■■■■■■■■■■■■■ 10.046 [9] |■■■■■■■■■■■■ 10.047 [0] | 10.048 [3] |■■■■ 10.048 [8] |■■■■■■■■■■ 10.049 [4] |■■■■■ 10.050 [2] |■■■

Latency distribution: 10% in 10.0437 secs 25% in 10.0442 secs 50% in 10.0448 secs 75% in 10.0459 secs 90% in 10.0480 secs 95% in 10.0488 secs 99% in 10.0497 secs

Details (average, fastest, slowest): DNS+dialup: 0.0027 secs, 10.0433 secs, 10.0497 secs DNS-lookup: 0.0000 secs, 0.0000 secs, 0.0000 secs req write: 0.0001 secs, 0.0000 secs, 0.0011 secs resp wait: 10.0421 secs, 10.0392 secs, 10.0449 secs resp read: 0.0001 secs, 0.0000 secs, 0.0010 secs

Status code distribution: [200] 100 responses

melsal13 avatar Mar 13 '25 20:03 melsal13

cc @guydc

arkodg avatar Mar 13 '25 20:03 arkodg

Hi,

Tried it out on dev-latest, and seems to work as expected for me:

Summary:
  Total:	10.0502 secs
  Slowest:	10.0502 secs
  Fastest:	0.0407 secs
  Average:	1.0498 secs
  Requests/sec:	9.9500

  Total data:	12530 bytes
  Size/request:	125 bytes

Response time histogram:
  0.041 [1]	|
  1.042 [89]	|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  2.043 [0]	|
  3.044 [0]	|
  4.045 [0]	|
  5.045 [0]	|
  6.046 [0]	|
  7.047 [0]	|
  8.048 [0]	|
  9.049 [0]	|
  10.050 [10]	|■■■■


Latency distribution:
  10% in 0.0450 secs
  25% in 0.0461 secs
  50% in 0.0518 secs
  75% in 0.0530 secs
  90% in 10.0493 secs
  95% in 10.0496 secs
  99% in 10.0502 secs

Details (average, fastest, slowest):
  DNS+dialup:	0.0080 secs, 0.0407 secs, 10.0502 secs
  DNS-lookup:	0.0009 secs, 0.0002 secs, 0.0020 secs
  req write:	0.0001 secs, 0.0000 secs, 0.0010 secs
  resp wait:	1.0417 secs, 0.0320 secs, 10.0467 secs
  resp read:	0.0000 secs, 0.0000 secs, 0.0001 secs

Status code distribution:
  [200]	10 responses
  [503]	90 responses

@melsal13 - can you share the status of the backendtrafficpolicy resource that you created?

guydc avatar Mar 14 '25 12:03 guydc

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

github-actions[bot] avatar Apr 27 '25 20:04 github-actions[bot]