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

perf(clustering) conditional rebuilding of router, plugins iterator and balancer on dp #8519

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

bungle
Copy link
Member

@bungle bungle commented Mar 8, 2022

Summary

Implements conditional rebuilding of router, plugins iterator and balancer on data planes. This means that DPs will not rebuild router if there were no changes in routes or services. Similarly, the plugins iterator will not be rebuild if there were no changes to plugins, and finally balancer in not reinitialized if there are no changes to upstreams or targets.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2022

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (baseline,single_route,simple)

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Result for upstream directly (run 1):
Running 30s test @ http://10.103.96.1:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   651.16us    1.39ms  12.17ms   87.44%
    Req/Sec   103.78k     5.67k  122.42k    69.93%
  15489188 requests in 30.04s, 2.02GB read
Requests/sec: 515583.81
Transfer/sec:     68.84MB
### Result for upstream directly (run 2):
Running 30s test @ http://10.103.96.1:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   665.14us    1.40ms  20.08ms   87.40%
    Req/Sec    96.36k     3.64k  118.51k    78.48%
  14390411 requests in 30.10s, 1.88GB read
Requests/sec: 478093.07
Transfer/sec:     63.83MB
### Result for upstream directly (run 3):
Running 30s test @ http://10.103.96.1:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   669.17us    1.40ms  12.21ms   87.38%
    Req/Sec    96.04k     3.81k  117.19k    77.48%
  14341194 requests in 30.10s, 1.87GB read
Requests/sec: 476461.35
Transfer/sec:     63.61MB
### Combined result for upstream directly:
RPS     Avg: 490046.08
Latency Avg: nanms    Max: nanms
  
### Test Suite: git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce #simple #no_plugins #single_route
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 1):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.47ms    2.77ms  54.06ms   90.87%
    Req/Sec    29.18k     7.13k   49.04k    59.80%
  4354246 requests in 30.03s, 0.91GB read
Requests/sec: 145002.35
Transfer/sec:     31.11MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 2):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.55ms    3.08ms  60.31ms   90.87%
    Req/Sec    29.64k     8.00k   48.60k    55.80%
  4422745 requests in 30.03s, 0.93GB read
Requests/sec: 147265.75
Transfer/sec:     31.59MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 3):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.54ms    3.07ms  54.70ms   90.94%
    Req/Sec    29.76k     7.91k   44.56k    57.13%
  4440965 requests in 30.02s, 0.93GB read
Requests/sec: 147910.86
Transfer/sec:     31.73MB
### Combined result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce:
RPS     Avg: 146726.32
Latency Avg: 1.52ms    Max: 60.31ms
  
### Test Suite: git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 1):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.43ms    2.72ms  61.88ms   90.87%
    Req/Sec    27.79k     6.93k   42.60k    56.79%
  4152866 requests in 30.10s, 0.87GB read
Requests/sec: 137971.47
Transfer/sec:     29.60MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 2):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.47ms    2.87ms  62.11ms   91.19%
    Req/Sec    27.73k     6.89k   42.40k    57.99%
  4143717 requests in 30.10s, 0.87GB read
Requests/sec: 137668.31
Transfer/sec:     29.53MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 3):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.43ms    2.70ms  63.68ms   90.90%
    Req/Sec    27.76k     6.86k   43.46k    57.69%
  4145190 requests in 30.10s, 0.87GB read
Requests/sec: 137717.26
Transfer/sec:     29.54MB
### Combined result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce:
RPS     Avg: 137785.68
Latency Avg: 1.44ms    Max: 63.68ms
  
### Test Suite: git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 1):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.40ms    2.41ms  69.14ms   91.79%
    Req/Sec    24.14k     5.24k   36.58k    61.59%
  3614301 requests in 30.10s, 775.38MB read
Requests/sec: 120075.52
Transfer/sec:     25.76MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 2):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.40ms    2.48ms  65.19ms   92.05%
    Req/Sec    24.20k     5.47k   36.60k    60.73%
  3623682 requests in 30.10s, 777.39MB read
Requests/sec: 120386.71
Transfer/sec:     25.83MB
### Result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce (run 3):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42ms    2.59ms  64.44ms   92.51%
    Req/Sec    24.11k     5.45k   35.71k    61.66%
  3609389 requests in 30.10s, 774.33MB read
Requests/sec: 119911.24
Transfer/sec:     25.72MB
### Combined result for Kong git:dbaaf96efc3f3638e12c0a1d873ca9f0de15bfce:
RPS     Avg: 120124.49
Latency Avg: 1.41ms    Max: 69.14ms
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.50ms    2.86ms  59.41ms   90.63%
    Req/Sec    29.12k     7.51k   43.11k    55.33%
  4352454 requests in 30.10s, 0.91GB read
Requests/sec: 144601.33
Transfer/sec:     31.02MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.55ms    3.07ms  60.40ms   90.89%
    Req/Sec    29.31k     7.81k   52.31k    55.60%
  4374237 requests in 30.04s, 0.92GB read
Requests/sec: 145621.67
Transfer/sec:     31.24MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.52ms    2.96ms  52.22ms   90.72%
    Req/Sec    29.26k     7.69k   51.03k    54.87%
  4366701 requests in 30.02s, 0.91GB read
Requests/sec: 145453.63
Transfer/sec:     31.20MB
### Combined result for Kong git:master:
RPS     Avg: 145225.54
Latency Avg: 1.52ms    Max: 60.40ms
  
### Test Suite: git:master #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.43ms    2.65ms  48.81ms   90.48%
    Req/Sec    28.16k     7.23k   42.35k    57.56%
  4205156 requests in 30.10s, 0.88GB read
Requests/sec: 139711.74
Transfer/sec:     29.97MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42ms    2.62ms  70.00ms   90.49%
    Req/Sec    28.19k     6.97k   46.15k    56.92%
  4211818 requests in 30.10s, 0.88GB read
Requests/sec: 139928.49
Transfer/sec:     30.02MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.44ms    2.67ms  57.27ms   90.56%
    Req/Sec    28.14k     7.06k   42.79k    57.58%
  4209963 requests in 30.10s, 0.88GB read
Requests/sec: 139866.15
Transfer/sec:     30.01MB
### Combined result for Kong git:master:
RPS     Avg: 139835.46
Latency Avg: 1.43ms    Max: 70.00ms
  
### Test Suite: git:master #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.41ms    2.72ms 131.94ms   92.62%
    Req/Sec    24.44k     5.36k   37.93k    62.72%
  3659433 requests in 30.10s, 785.06MB read
Requests/sec: 121577.72
Transfer/sec:     26.08MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.43ms    2.57ms  63.07ms   92.24%
    Req/Sec    24.12k     5.59k   35.29k    60.53%
  3612057 requests in 30.10s, 774.90MB read
Requests/sec: 120001.04
Transfer/sec:     25.74MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.41ms    2.60ms  60.01ms   92.33%
    Req/Sec    24.35k     5.63k   42.64k    62.62%
  3635731 requests in 30.10s, 779.98MB read
Requests/sec: 120790.71
Transfer/sec:     25.91MB
### Combined result for Kong git:master:
RPS     Avg: 120789.82
Latency Avg: 1.42ms    Max: 131.94ms
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2022

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (baseline,single_route,simple)

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Result for upstream directly (run 1):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   561.13us    1.25ms  16.04ms   87.30%
    Req/Sec   169.30k    13.44k  211.07k    64.82%
  25286399 requests in 30.10s, 3.30GB read
Requests/sec: 840080.01
Transfer/sec:    112.16MB
### Result for upstream directly (run 2):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   569.63us    1.25ms  12.14ms   87.21%
    Req/Sec   153.69k     7.36k  206.66k    75.17%
  22971449 requests in 30.10s, 3.00GB read
Requests/sec: 763179.66
Transfer/sec:    101.90MB
### Result for upstream directly (run 3):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   572.08us    1.26ms  12.13ms   87.23%
    Req/Sec   152.92k     7.66k  199.70k    75.15%
  22836911 requests in 30.10s, 2.98GB read
Requests/sec: 758712.05
Transfer/sec:    101.30MB
### Combined result for upstream directly:
RPS     Avg: 787323.91
Latency Avg: nanms    Max: nanms
  
### Test Suite: git:0459d3d972f68fedfd012d8cd95044861e952060 #simple #no_plugins #single_route
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 1):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.59ms    3.30ms  79.53ms   91.59%
    Req/Sec    29.40k     8.77k   73.07k    73.18%
  4333420 requests in 30.02s, 0.91GB read
Requests/sec: 144372.69
Transfer/sec:     30.97MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 2):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.63ms    3.29ms  54.87ms   91.11%
    Req/Sec    29.24k     7.97k   55.06k    57.53%
  4363817 requests in 30.05s, 0.91GB read
Requests/sec: 145221.13
Transfer/sec:     31.15MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 3):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.59ms    3.20ms  58.67ms   90.95%
    Req/Sec    29.42k     7.82k   51.07k    57.96%
  4393543 requests in 30.10s, 0.92GB read
Requests/sec: 145964.20
Transfer/sec:     31.31MB
### Combined result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060:
RPS     Avg: 145186.01
Latency Avg: 1.60ms    Max: 79.53ms
  
### Test Suite: git:0459d3d972f68fedfd012d8cd95044861e952060 #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 1):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.57ms    3.14ms  55.10ms   91.31%
    Req/Sec    27.78k     7.35k   42.06k    57.49%
  4154894 requests in 30.10s, 0.87GB read
Requests/sec: 138036.41
Transfer/sec:     29.61MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 2):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.59ms    3.22ms  62.56ms   91.58%
    Req/Sec    27.75k     7.19k   46.66k    58.14%
  4154273 requests in 30.10s, 0.87GB read
Requests/sec: 138016.03
Transfer/sec:     29.61MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 3):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.53ms    2.93ms  52.44ms   91.06%
    Req/Sec    27.79k     7.09k   44.79k    57.19%
  4153997 requests in 30.07s, 0.87GB read
Requests/sec: 138143.49
Transfer/sec:     29.64MB
### Combined result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060:
RPS     Avg: 138065.31
Latency Avg: 1.56ms    Max: 62.56ms
  
### Test Suite: git:0459d3d972f68fedfd012d8cd95044861e952060 #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 1):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.47ms    2.87ms 130.11ms   92.93%
    Req/Sec    24.09k     5.36k   38.27k    60.65%
  3600795 requests in 30.08s, 772.48MB read
Requests/sec: 119716.07
Transfer/sec:     25.68MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 2):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.48ms    2.90ms  91.54ms   92.78%
    Req/Sec    24.19k     5.46k   43.34k    61.66%
  3622403 requests in 30.10s, 777.12MB read
Requests/sec: 120345.71
Transfer/sec:     25.82MB
### Result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060 (run 3):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.49ms    2.91ms  82.08ms   92.85%
    Req/Sec    24.15k     5.42k   38.58k    61.72%
  3608741 requests in 30.06s, 774.19MB read
Requests/sec: 120031.53
Transfer/sec:     25.75MB
### Combined result for Kong git:0459d3d972f68fedfd012d8cd95044861e952060:
RPS     Avg: 120031.10
Latency Avg: 1.48ms    Max: 130.11ms
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.66ms    3.33ms  58.68ms   90.82%
    Req/Sec    29.79k     8.13k   46.75k    57.87%
  4446088 requests in 30.04s, 0.93GB read
Requests/sec: 148018.89
Transfer/sec:     31.75MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.66ms    3.46ms  70.29ms   91.23%
    Req/Sec    29.90k     8.22k   61.34k    58.13%
  4463561 requests in 30.06s, 0.94GB read
Requests/sec: 148474.08
Transfer/sec:     31.85MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.7:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.69ms    3.48ms  68.32ms   91.10%
    Req/Sec    29.70k     8.41k   53.58k    58.36%
  4436514 requests in 30.10s, 0.93GB read
Requests/sec: 147393.64
Transfer/sec:     31.62MB
### Combined result for Kong git:master:
RPS     Avg: 147962.20
Latency Avg: 1.67ms    Max: 70.29ms
  
### Test Suite: git:master #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.60ms    3.25ms  70.38ms   91.30%
    Req/Sec    28.27k     7.53k   43.65k    57.59%
  4225004 requests in 30.08s, 0.89GB read
Requests/sec: 140468.38
Transfer/sec:     30.13MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.59ms    3.16ms  59.82ms   91.04%
    Req/Sec    28.07k     7.61k   52.89k    56.26%
  4195046 requests in 30.06s, 0.88GB read
Requests/sec: 139546.08
Transfer/sec:     29.94MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.66ms    3.55ms  78.84ms   91.81%
    Req/Sec    28.18k     7.57k   62.24k    57.99%
  4211719 requests in 30.02s, 0.88GB read
Requests/sec: 140278.68
Transfer/sec:     30.09MB
### Combined result for Kong git:master:
RPS     Avg: 140097.71
Latency Avg: 1.62ms    Max: 78.84ms
  
### Test Suite: git:master #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.55ms    3.59ms 258.81ms   93.91%
    Req/Sec    23.85k     5.52k   39.08k    61.25%
  3565038 requests in 30.07s, 764.81MB read
Requests/sec: 118568.42
Transfer/sec:     25.44MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.47ms    2.77ms  60.66ms   92.62%
    Req/Sec    24.15k     5.43k   40.42k    59.79%
  3609695 requests in 30.07s, 774.39MB read
Requests/sec: 120052.60
Transfer/sec:     25.76MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.7:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.49ms    2.87ms  71.10ms   92.79%
    Req/Sec    24.13k     5.56k   41.70k    61.36%
  3603948 requests in 30.10s, 773.16MB read
Requests/sec: 119734.92
Transfer/sec:     25.69MB
### Combined result for Kong git:master:
RPS     Avg: 119451.98
Latency Avg: 1.50ms    Max: 258.81ms
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2022

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (baseline,single_route,simple)

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Result for upstream directly (run 1):
Running 30s test @ http://10.103.96.9:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   569.79us    1.25ms  12.10ms   87.16%
    Req/Sec   168.32k    13.81k  227.64k    63.36%
  25139425 requests in 30.10s, 3.28GB read
Requests/sec: 835206.11
Transfer/sec:    111.51MB
### Result for upstream directly (run 2):
Running 30s test @ http://10.103.96.9:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   568.90us    1.25ms  15.89ms   87.26%
    Req/Sec   156.59k     7.68k  187.89k    70.95%
  23385385 requests in 30.10s, 3.05GB read
Requests/sec: 776933.26
Transfer/sec:    103.73MB
### Result for upstream directly (run 3):
Running 30s test @ http://10.103.96.9:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   568.47us    1.26ms  16.02ms   87.30%
    Req/Sec   154.44k     8.03k  206.61k    71.75%
  23066323 requests in 30.10s, 3.01GB read
Requests/sec: 766331.48
Transfer/sec:    102.32MB
### Combined result for upstream directly:
RPS     Avg: 792823.62
Latency Avg: nanms    Max: nanms
  
### Test Suite: git:379027974c67b00a145d4ef2e55ce7a622cf7274 #simple #no_plugins #single_route
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 1):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.39ms    2.73ms  60.46ms   92.39%
    Req/Sec    27.24k     6.58k   62.27k    67.16%
  4017100 requests in 30.03s, 861.79MB read
Requests/sec: 133752.47
Transfer/sec:     28.69MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 2):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42ms    2.76ms  69.29ms   92.18%
    Req/Sec    27.01k     6.12k   43.56k    60.36%
  4034328 requests in 30.10s, 865.49MB read
Requests/sec: 134034.10
Transfer/sec:     28.75MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 3):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.45ms    2.83ms  62.85ms   92.15%
    Req/Sec    26.96k     6.24k   41.89k    59.19%
  4028341 requests in 30.10s, 864.21MB read
Requests/sec: 133831.38
Transfer/sec:     28.71MB
### Combined result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274:
RPS     Avg: 133872.65
Latency Avg: 1.42ms    Max: 69.29ms
  
### Test Suite: git:379027974c67b00a145d4ef2e55ce7a622cf7274 #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 1):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42ms    2.73ms  55.01ms   92.31%
    Req/Sec    26.10k     5.87k   43.42k    60.20%
  3908184 requests in 30.10s, 838.43MB read
Requests/sec: 129836.63
Transfer/sec:     27.85MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 2):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.44ms    2.84ms  63.11ms   92.59%
    Req/Sec    26.11k     5.82k   42.83k    59.38%
  3908155 requests in 30.10s, 838.42MB read
Requests/sec: 129838.33
Transfer/sec:     27.85MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 3):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.41ms    2.73ms  54.81ms   92.34%
    Req/Sec    26.11k     5.79k   41.78k    59.39%
  3902654 requests in 30.07s, 837.24MB read
Requests/sec: 129789.83
Transfer/sec:     27.84MB
### Combined result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274:
RPS     Avg: 129821.60
Latency Avg: 1.42ms    Max: 63.11ms
  
### Test Suite: git:379027974c67b00a145d4ef2e55ce7a622cf7274 #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 1):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.35ms    2.20ms  68.88ms   93.18%
    Req/Sec    22.34k     4.32k   34.26k    64.51%
  3339260 requests in 30.05s, 716.37MB read
Requests/sec: 111116.37
Transfer/sec:     23.84MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 2):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.35ms    2.26ms  47.18ms   93.71%
    Req/Sec    22.46k     4.55k   35.67k    66.27%
  3352668 requests in 30.04s, 719.25MB read
Requests/sec: 111600.54
Transfer/sec:     23.94MB
### Result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274 (run 3):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.29ms    2.07ms  49.31ms   93.58%
    Req/Sec    22.63k     4.35k   34.36k    65.40%
  3384244 requests in 30.10s, 726.02MB read
Requests/sec: 112433.16
Transfer/sec:     24.12MB
### Combined result for Kong git:379027974c67b00a145d4ef2e55ce7a622cf7274:
RPS     Avg: 111716.69
Latency Avg: 1.33ms    Max: 68.88ms
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.47ms    2.88ms  61.88ms   92.41%
    Req/Sec    27.03k     6.11k   44.62k    60.00%
  4033447 requests in 30.05s, 865.30MB read
Requests/sec: 134207.84
Transfer/sec:     28.79MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42ms    2.65ms  56.42ms   91.72%
    Req/Sec    27.14k     6.16k   50.60k    62.00%
  4051203 requests in 30.04s, 869.11MB read
Requests/sec: 134869.12
Transfer/sec:     28.93MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.11:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.56ms    3.42ms  73.13ms   93.05%
    Req/Sec    27.16k     6.40k   46.86k    60.69%
  4056906 requests in 30.10s, 870.34MB read
Requests/sec: 134782.52
Transfer/sec:     28.92MB
### Combined result for Kong git:master:
RPS     Avg: 134619.83
Latency Avg: 1.48ms    Max: 73.13ms
  
### Test Suite: git:master #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.43ms    2.75ms  64.51ms   92.41%
    Req/Sec    25.90k     5.89k   40.42k    58.88%
  3872663 requests in 30.10s, 830.81MB read
Requests/sec: 128660.00
Transfer/sec:     27.60MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.40ms    2.66ms  60.95ms   92.29%
    Req/Sec    26.06k     5.72k   38.11k    58.82%
  3897093 requests in 30.10s, 836.05MB read
Requests/sec: 129471.43
Transfer/sec:     27.78MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.44ms    2.84ms  68.38ms   92.43%
    Req/Sec    26.08k     5.83k   43.37k    60.90%
  3902889 requests in 30.10s, 837.29MB read
Requests/sec: 129663.86
Transfer/sec:     27.82MB
### Combined result for Kong git:master:
RPS     Avg: 129265.10
Latency Avg: 1.42ms    Max: 68.38ms
  
### Test Suite: git:master #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.35ms    2.41ms 129.88ms   94.06%
    Req/Sec    22.38k     4.44k   33.75k    65.00%
  3347695 requests in 30.10s, 718.18MB read
Requests/sec: 111219.66
Transfer/sec:     23.86MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.39ms    2.46ms  60.42ms   94.03%
    Req/Sec    22.35k     4.53k   39.03k    66.53%
  3343439 requests in 30.10s, 717.27MB read
Requests/sec: 111077.45
Transfer/sec:     23.83MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.11:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.34ms    2.35ms  63.44ms   94.09%
    Req/Sec    22.45k     4.34k   35.30k    66.05%
  3355853 requests in 30.07s, 719.93MB read
Requests/sec: 111619.87
Transfer/sec:     23.95MB
### Combined result for Kong git:master:
RPS     Avg: 111305.66
Latency Avg: 1.36ms    Max: 129.88ms
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts

kong/runloop/handler.lua Outdated Show resolved Hide resolved
kong/runloop/handler.lua Outdated Show resolved Hide resolved
…nd balancer on dp

### Summary

Implements conditional rebuilding of `router`, `plugins iterator` and `balancer` on
data planes. This means that DPs will not rebuild router if there were no changes in
routes or services. Similarly, the plugins iterator will not be rebuild if there were
no changes to plugins, and finally balancer in not reinitialized if there are no
changes to upstreams or targets.
@github-actions
Copy link
Contributor

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (baseline,single_route,simple)

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Result for upstream directly (run 1):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   650.33us    1.39ms  24.08ms   87.43%
    Req/Sec   105.39k     4.90k  120.45k    73.75%
  15739589 requests in 30.10s, 2.05GB read
Requests/sec: 522912.73
Transfer/sec:     69.82MB
### Result for upstream directly (run 2):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   665.15us    1.40ms  12.18ms   87.32%
    Req/Sec    97.48k     3.58k  114.16k    71.80%
  14547622 requests in 30.02s, 1.90GB read
Requests/sec: 484627.13
Transfer/sec:     64.70MB
### Result for upstream directly (run 3):
Running 30s test @ http://10.103.96.5:8088/test
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   665.17us    1.40ms  16.14ms   87.24%
    Req/Sec    97.55k     3.28k  111.07k    74.33%
  14555585 requests in 30.02s, 1.90GB read
Requests/sec: 484883.23
Transfer/sec:     64.74MB
### Combined result for upstream directly:
RPS     Avg: 497474.36
Latency Avg: nanms    Max: nanms
  
### Test Suite: git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f #simple #no_plugins #single_route
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 1):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.37ms    2.44ms  50.17ms   91.77%
    Req/Sec    26.22k     5.66k   40.91k    59.52%
  3918304 requests in 30.10s, 840.60MB read
Requests/sec: 130175.48
Transfer/sec:     27.93MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 2):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.38ms    2.50ms  50.18ms   91.52%
    Req/Sec    26.39k     6.16k   42.68k    56.90%
  3940721 requests in 30.10s, 845.41MB read
Requests/sec: 130921.25
Transfer/sec:     28.09MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 3):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.37ms    2.50ms  59.85ms   91.53%
    Req/Sec    26.53k     5.89k   48.88k    58.47%
  3959203 requests in 30.04s, 849.37MB read
Requests/sec: 131814.57
Transfer/sec:     28.28MB
### Combined result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f:
RPS     Avg: 130970.43
Latency Avg: 1.37ms    Max: 59.85ms
  
### Test Suite: git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 1):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.34ms    2.36ms  52.46ms   92.03%
    Req/Sec    25.17k     5.50k   36.56k    58.79%
  3762076 requests in 30.10s, 807.08MB read
Requests/sec: 124988.30
Transfer/sec:     26.81MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 2):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.35ms    2.42ms  58.36ms   92.24%
    Req/Sec    25.03k     5.37k   38.24k    60.75%
  3742115 requests in 30.10s, 802.80MB read
Requests/sec: 124325.96
Transfer/sec:     26.67MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 3):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.36ms    2.57ms  92.90ms   92.38%
    Req/Sec    25.26k     5.47k   36.21k    59.79%
  3774814 requests in 30.10s, 809.81MB read
Requests/sec: 125412.33
Transfer/sec:     26.90MB
### Combined result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f:
RPS     Avg: 124908.86
Latency Avg: 1.35ms    Max: 92.90ms
  
### Test Suite: git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 1):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.39ms    2.53ms 132.84ms   93.57%
    Req/Sec    22.35k     4.38k   31.85k    66.91%
  3345941 requests in 30.10s, 717.81MB read
Requests/sec: 111161.29
Transfer/sec:     23.85MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 2):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.39ms    2.48ms  90.55ms   93.88%
    Req/Sec    22.26k     4.64k   34.89k    64.83%
  3331342 requests in 30.10s, 714.67MB read
Requests/sec: 110678.07
Transfer/sec:     23.74MB
### Result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f (run 3):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.33ms    2.19ms  73.30ms   93.52%
    Req/Sec    22.32k     4.40k   34.93k    65.38%
  3334897 requests in 30.10s, 715.44MB read
Requests/sec: 110795.39
Transfer/sec:     23.77MB
### Combined result for Kong git:d1ec6be06bafdc9f3ff8356c0cbbb65f699e844f:
RPS     Avg: 110878.25
Latency Avg: 1.37ms    Max: 132.84ms
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.37ms    2.46ms  47.83ms   91.48%
    Req/Sec    26.37k     5.91k   42.51k    58.63%
  3938159 requests in 30.10s, 844.86MB read
Requests/sec: 130835.82
Transfer/sec:     28.07MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.40ms    2.60ms  74.27ms   91.68%
    Req/Sec    26.43k     5.90k   45.18k    58.07%
  3944240 requests in 30.04s, 846.16MB read
Requests/sec: 131299.30
Transfer/sec:     28.17MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.39ms    2.56ms  47.45ms   91.55%
    Req/Sec    26.47k     6.00k   42.68k    58.56%
  3953203 requests in 30.10s, 848.09MB read
Requests/sec: 131334.29
Transfer/sec:     28.18MB
### Combined result for Kong git:master:
RPS     Avg: 131156.47
Latency Avg: 1.39ms    Max: 74.27ms
  
### Test Suite: git:master #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.34ms    2.38ms  54.77ms   91.71%
    Req/Sec    25.49k     5.62k   36.39k    57.65%
  3814124 requests in 30.10s, 818.25MB read
Requests/sec: 126716.65
Transfer/sec:     27.18MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.33ms    2.34ms  52.02ms   91.70%
    Req/Sec    25.57k     5.42k   35.62k    61.38%
  3821201 requests in 30.10s, 819.77MB read
Requests/sec: 126954.53
Transfer/sec:     27.24MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.33ms    2.35ms  49.76ms   91.89%
    Req/Sec    25.41k     5.56k   45.64k    60.76%
  3794602 requests in 30.10s, 814.06MB read
Requests/sec: 126067.04
Transfer/sec:     27.05MB
### Combined result for Kong git:master:
RPS     Avg: 126579.41
Latency Avg: 1.33ms    Max: 54.77ms
  
### Test Suite: git:master #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:master (run 1):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.40ms    2.09ms  48.46ms   91.31%
    Req/Sec    21.70k     4.14k   34.81k    65.98%
  3242997 requests in 30.10s, 695.72MB read
Requests/sec: 107740.17
Transfer/sec:     23.11MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.34ms    2.16ms  45.52ms   93.46%
    Req/Sec    21.95k     4.40k   36.82k    66.22%
  3277456 requests in 30.10s, 703.11MB read
Requests/sec: 108887.59
Transfer/sec:     23.36MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.103.96.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.30ms    2.04ms  52.00ms   93.54%
    Req/Sec    22.06k     4.25k   33.88k    65.76%
  3300137 requests in 30.10s, 707.98MB read
Requests/sec: 109640.20
Transfer/sec:     23.52MB
### Combined result for Kong git:master:
RPS     Avg: 108755.99
Latency Avg: 1.35ms    Max: 52.00ms
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts

@bungle bungle requested a review from fffonion March 23, 2022 09:34
Copy link
Contributor

@fffonion fffonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🚀

@bungle bungle merged commit 4f4af40 into master Mar 23, 2022
@bungle bungle deleted the perf/dp-hashes branch March 23, 2022 12:22
aboudreault pushed a commit that referenced this pull request Apr 5, 2022
…nd balancer on dp (#8519)

### Summary

Implements conditional rebuilding of `router`, `plugins iterator` and `balancer` on
data planes. This means that DPs will not rebuild router if there were no changes in
routes or services. Similarly, the plugins iterator will not be rebuild if there were
no changes to plugins, and finally balancer in not reinitialized if there are no
changes to upstreams or targets.
bungle added a commit that referenced this pull request Jun 14, 2022
### Summary

The reconfigure event needs to pass hashes and not only the default
workspace. This broke when PR #8519 was merged and then `LMDB` PR
#8224 got merged after it.
bungle added a commit that referenced this pull request Jun 14, 2022
### Summary

The reconfigure event needs to pass hashes and not only the default
workspace. This broke when PR #8519 was merged and then `LMDB` PR
#8224 got merged after it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants