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

implement Redis connection pooling #5942

Merged
merged 6 commits into from
Sep 6, 2024

factor redis client creation

39cf72e
Select commit
Loading
Failed to load commit list.
Merged

implement Redis connection pooling #5942

factor redis client creation
39cf72e
Select commit
Loading
Failed to load commit list.
Router Perf / CI Performance Tests succeeded Sep 6, 2024 in 22m 45s

Performance

Workflow

All simulations passed

Simulations

simulation scenario rps minRps maxRps success min_latency_ms max_latency_ms mean_latency_ms
0 const basic 4045 3800 4200 True 5 115 9.231405
1 step basic 5970 4000 9000 True 4 501 22.794872

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