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

Added 2 mermaid diagrams to demonstrate entity caching and entity cache invalidation #6260

Merged
merged 6 commits into from
Nov 14, 2024

Update docs/source/routing/performance/caching/entity.mdx

46ee5c7
Select commit
Loading
Failed to load commit list.
Merged

Added 2 mermaid diagrams to demonstrate entity caching and entity cache invalidation #6260

Update docs/source/routing/performance/caching/entity.mdx
46ee5c7
Select commit
Loading
Failed to load commit list.
Router Perf / CI Performance Tests succeeded Nov 14, 2024 in 21m 46s

Performance

Workflow

All simulations passed

Simulations

simulation scenario rps minRps maxRps success min_latency_ms max_latency_ms mean_latency_ms
0 step basic 6248 4000 9000 True 5 501 17.696498
1 const basic 4036 3800 4200 True 4 73 9.206612

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