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(cache): add support for surrogate cache key #6234

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

fix lint

9065a18
Select commit
Loading
Failed to load commit list.
Open

feat(cache): add support for surrogate cache key #6234

fix lint
9065a18
Select commit
Loading
Failed to load commit list.
Router Perf / CI Performance Tests succeeded Nov 6, 2024 in 22m 14s

Performance

Workflow

All simulations passed

Simulations

simulation scenario rps minRps maxRps success min_latency_ms max_latency_ms mean_latency_ms
0 step basic 6409 4000 9000 True 5 501 21.510791
1 const basic 4010 3800 4200 True 5 21 9.0

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