Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: experimental circuit breaker plugin #6140

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

feat: immediately drop result of circuit breaker call, is not needed

96071ae
Select commit
Loading
Failed to load commit list.
Open

feat: experimental circuit breaker plugin #6140

feat: immediately drop result of circuit breaker call, is not needed
96071ae
Select commit
Loading
Failed to load commit list.
Router Perf / CI Performance Tests succeeded Oct 15, 2024 in 0s

Performance

Workflow

All simulations passed

Simulations

simulation scenario rps minRps maxRps success min_latency_ms max_latency_ms mean_latency_ms
0 const basic 4009 3800 4200 True 4 60 9.016529
1 step basic 6415 4000 9000 True 4 501 21.900709

Details

const - basic

Definition

attack:
  duration: PT2M
  type: constant
  users: 4000
checks:
  maxFailures: 10000
  maxRps: 4200
  minRps: 3800
operation:
  breadth: 2
  depth: 5
  fields: 100
  name: basic
  subgraphResponseFieldSize: 32
  timeout: PT0.5S
  type: query
protocol:
  http2: false
  shareConnections: true
warmup:
- duration: PT10S
  endUsers: 4000
  startUsers: 0
  type: ramp
- duration: PT10S
  type: constant
  users: 4000

Flamegraph

Gatling

png

Node stats

png

png

png

png

png

png

step - basic

Definition

attack:
  incrementUsers: 100
  rampDuration: PT1S
  startUsers: 4000
  stepDuration: PT10S
  times: 200
  type: step
checks:
  maxFailures: 10000
  maxRps: 9000
  minRps: 4000
operation:
  breadth: 2
  depth: 5
  fields: 100
  name: basic
  subgraphResponseFieldSize: 32
  timeout: PT0.5S
  type: query
protocol:
  http2: false
  shareConnections: true
warmup:
- duration: PT10S
  endUsers: 4000
  startUsers: 0
  type: ramp
- duration: PT10S
  type: constant
  users: 4000

Flamegraph

Gatling

png

Node stats

png

png

png

png

png

png