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(statsd) merge statsd-advanced into statsd #9046

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

vm-001
Copy link
Contributor

@vm-001 vm-001 commented Jul 4, 2022

Summary

Merge features of statsd-advanced into statsd

Full changelog

Issue reference

FTI-4110

@vm-001 vm-001 requested a review from a team as a code owner July 4, 2022 03:35
@vm-001 vm-001 changed the title feat(stastd) combine stastd-advanced plugin feat(stastd) merge stastd-advanced into stastd Jul 4, 2022
@RobSerafini RobSerafini added this to the 3.0 milestone Jul 7, 2022
@vm-001 vm-001 force-pushed the feat/combine-stastd-advanced branch from fc3a6e7 to 96d6546 Compare August 4, 2022 02:55
@guanlan guanlan requested a review from fffonion August 8, 2022 02:54
@mayocream mayocream self-assigned this Aug 8, 2022
@mayocream mayocream self-requested a review August 8, 2022 10:10
Copy link
Contributor

@mayocream mayocream left a comment

Choose a reason for hiding this comment

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

Also, please note that the docs should be merged after the original pr is merged. Kong/docs.konghq.com#4085

kong/plugins/statsd/schema.lua Show resolved Hide resolved
kong/plugins/statsd/schema.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/schema.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/log.lua Show resolved Hide resolved
kong/plugins/statsd/log.lua Show resolved Hide resolved
kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/schema.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/statsd_logger.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/statsd_logger.lua Outdated Show resolved Hide resolved
@mayocream
Copy link
Contributor

@vm-001 please also include the changelog entry in CHANGELOG.md

@vm-001 vm-001 closed this Aug 11, 2022
@vm-001 vm-001 reopened this Aug 11, 2022
@vm-001
Copy link
Contributor Author

vm-001 commented Aug 11, 2022

The default metrics from statsd-advanced:

[
  "kong.node.eb6c7cacfddc.shdict.kong.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133373952|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.free_space:12492800|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.free_space:133419008|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.capacity:8388608|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.free_space:8327168|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.capacity:10485760|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.free_space:10412032|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.free_space:5197824|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.free_space:5201920|g",
  "kong.route.5c8506d5-ff04-4c5c-bbc8-f20c5495cf46.user.robert.status.200:1|c",
  "kong.service.statsd1.cache_datastore_hits_total:3|c",
  "kong.service.statsd1.cache_datastore_misses_total:2|c",
  "kong.service.statsd1.kong_latency:15|ms",
  "kong.service.statsd1.latency:27|ms",
  "kong.service.statsd1.request.count:1|c",
  "kong.service.statsd1.request.size:119|ms",
  "kong.service.statsd1.response.size:1451|ms",
  "kong.service.statsd1.status.200:1|c",
  "kong.service.statsd1.upstream_latency:12|ms",
  "kong.service.statsd1.user.robert.request.count:1|c",
  "kong.service.statsd1.user.robert.status.200:1|c",
  "kong.service.statsd1.user.uniques:robert|s",
  "kong.service.statsd1.workspace.1bf2f42d-4f41-4c84-89bd-2eb8f07fea44.status.200:1|c"
]

The default metrics from statsd based on the latest commit of this branch.

[
  "kong.node.eb6c7cacfddc.shdict.kong.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133345280|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.free_space:12492800|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.free_space:133419008|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.capacity:8388608|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.free_space:8327168|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.capacity:10485760|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.free_space:10412032|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.free_space:5201920|g",
  "kong.route.5c8506d5-ff04-4c5c-bbc8-f20c5495cf46.user.robert.status.200:1|c",
  "kong.service.statsd1.cache_datastore_hits_total:3|c",
  "kong.service.statsd1.cache_datastore_misses_total:2|c",
  "kong.service.statsd1.kong_latency:12|ms",
  "kong.service.statsd1.latency:41|ms",
  "kong.service.statsd1.request.count:1|c",
  "kong.service.statsd1.request.size:119|ms",
  "kong.service.statsd1.request.status.200:1|c",
  "kong.service.statsd1.request.status.total:1|c",
  "kong.service.statsd1.response.size:1430|ms",
  "kong.service.statsd1.upstream_latency:29|ms",
  "kong.service.statsd1.user.robert.request.count:1|c",
  "kong.service.statsd1.user.robert.request.status.200:1|c",
  "kong.service.statsd1.user.robert.request.status.total:1|c",
  "kong.service.statsd1.user.uniques:robert|s",
  "kong.service.statsd1.workspace.718beb06-512f-4578-a5fb-21601904fb6f.status.200:1|c"
]

kong/cache/init.lua Outdated Show resolved Hide resolved
local function cache_accessed(hit_lvl)
local counter_name

if hit_lvl == 2 then
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add assert(type(hit_lvl) == 'number' && hit_lvl <=3)?

kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/log.lua Show resolved Hide resolved
kong/plugins/statsd/log.lua Show resolved Hide resolved
kong/plugins/statsd/schema.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/schema.lua Show resolved Hide resolved
@chronolaw
Copy link
Contributor

Common code style issue: add blank line before else/elseif, please refer to code style guide.

@mayocream
Copy link
Contributor

diff 1.txt 2.txt 
7c7
<   "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133373952|g",
---
>   "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133345280|g",
10,11d9
<   "kong.node.eb6c7cacfddc.shdict.kong_counters.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_counters.free_space:1032192|g",
18,19d15
<   "kong.node.eb6c7cacfddc.shdict.kong_keyring.capacity:5242880|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_keyring.free_space:5201920|g",
28,39d23
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_services.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_services.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.capacity:5242880|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.free_space:5197824|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.free_space:1032192|g",
45,46c29,30
<   "kong.service.statsd1.kong_latency:15|ms",
<   "kong.service.statsd1.latency:27|ms",
---
>   "kong.service.statsd1.kong_latency:12|ms",
>   "kong.service.statsd1.latency:41|ms",
49,51c33,36
<   "kong.service.statsd1.response.size:1451|ms",
<   "kong.service.statsd1.status.200:1|c",
<   "kong.service.statsd1.upstream_latency:12|ms",
---
>   "kong.service.statsd1.request.status.200:1|c",
>   "kong.service.statsd1.request.status.total:1|c",
>   "kong.service.statsd1.response.size:1430|ms",
>   "kong.service.statsd1.upstream_latency:29|ms",
53c38,39
<   "kong.service.statsd1.user.robert.status.200:1|c",
---
>   "kong.service.statsd1.user.robert.request.status.200:1|c",
>   "kong.service.statsd1.user.robert.request.status.total:1|c",
55c41
<   "kong.service.statsd1.workspace.1bf2f42d-4f41-4c84-89bd-2eb8f07fea44.status.200:1|c"
---
>   "kong.service.statsd1.workspace.718beb06-512f-4578-a5fb-21601904fb6f.status.200:1|c"

Is the removal of these metrics expected? @vm-001
cc @fffonion

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 11, 2022

diff 1.txt 2.txt 
7c7
<   "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133373952|g",
---
>   "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133345280|g",
10,11d9
<   "kong.node.eb6c7cacfddc.shdict.kong_counters.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_counters.free_space:1032192|g",
18,19d15
<   "kong.node.eb6c7cacfddc.shdict.kong_keyring.capacity:5242880|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_keyring.free_space:5201920|g",
28,39d23
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_services.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_reports_services.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals.free_space:1032192|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.capacity:5242880|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.free_space:5197824|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.capacity:1048576|g",
<   "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.free_space:1032192|g",
45,46c29,30
<   "kong.service.statsd1.kong_latency:15|ms",
<   "kong.service.statsd1.latency:27|ms",
---
>   "kong.service.statsd1.kong_latency:12|ms",
>   "kong.service.statsd1.latency:41|ms",
49,51c33,36
<   "kong.service.statsd1.response.size:1451|ms",
<   "kong.service.statsd1.status.200:1|c",
<   "kong.service.statsd1.upstream_latency:12|ms",
---
>   "kong.service.statsd1.request.status.200:1|c",
>   "kong.service.statsd1.request.status.total:1|c",
>   "kong.service.statsd1.response.size:1430|ms",
>   "kong.service.statsd1.upstream_latency:29|ms",
53c38,39
<   "kong.service.statsd1.user.robert.status.200:1|c",
---
>   "kong.service.statsd1.user.robert.request.status.200:1|c",
>   "kong.service.statsd1.user.robert.request.status.total:1|c",
55c41
<   "kong.service.statsd1.workspace.1bf2f42d-4f41-4c84-89bd-2eb8f07fea44.status.200:1|c"
---
>   "kong.service.statsd1.workspace.718beb06-512f-4578-a5fb-21601904fb6f.status.200:1|c"

Is the removal of these metrics expected? @vm-001 cc @fffonion

Because CE doesn't have those shdicts, I think it's totally fine to miss these metrics for Kong CE version. (@fffonion Correct me If I'm wrong)

@chronolaw
Copy link
Contributor

Common code style issue: add blank line before else/elseif, please refer to code style guide.

Just moving those functions to CE and didn't aware of this. I'll check all this if ... else statements. @chronolaw

BTW, do you have any lint for this check?

Sorry, I always use naked eyes to check style.

@mayocream
Copy link
Contributor

Common code style issue: add blank line before else/elseif, please refer to code style guide.

Just moving those functions to CE and didn't aware of this. I'll check all this if ... else statements. @chronolaw
BTW, do you have any lint for this check?

Sorry, I always use naked eyes to check style.

Human Linter

Copy link
Contributor

@mayocream mayocream left a comment

Choose a reason for hiding this comment

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

tests for cache_datastore_hits_total and cache_datastore_misses_total?

@mayocream
Copy link
Contributor

Tests count in kong-ee

$ grep "it(" spec/03-plugins/06-statsd/01-log_spec.lua | wc -l
15
$ grep "it(" plugins-ee/statsd-advanced/spec/03-log_ee_spec.lua | wc -l
18

Tests count in this PR

$ grep "it(" spec/03-plugins/06-statsd/01-log_spec.lua | wc -l
30

Are the three tests missing or got combined? @vm-001

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 11, 2022

Tests count in kong-ee

$ grep "it(" spec/03-plugins/06-statsd/01-log_spec.lua | wc -l
15
$ grep "it(" plugins-ee/statsd-advanced/spec/03-log_ee_spec.lua | wc -l
18

Tests count in this PR

$ grep "it(" spec/03-plugins/06-statsd/01-log_spec.lua | wc -l
30

Are the three tests missing or got combined? @vm-001

<       it("logs over UDP with default metrics with vitals on", function()
<       it("logs over UDP with default metrics and new prefix with vitals on", function()
20d17
<       it("vitals logging_metrics", function()
29c26
<       it("logs service by service_name emits service.unnamed if service name is not set", function()
---
>       it("logs service by service_name emits unnamed if service name is not set", function()
31c28,29
<       it("does not send vitals metrics when vitals is turned off", function()
---
>       it("logs over UDP with default metrics", function()
>       it("latency as gauge", function()

@mayocream Thanks for potting out the different number of tests in ee and ce. I'm not seeing any problems.

  • The missing test "logs over UDP with default metrics with vitals on" of EE has been combined with the CE test "logs over UDP with default metrics"
  • The missing test "logs over UDP with default metrics and new prefix with vitals on" of EE has been combined with the CE test "logs over UDP with default metrics and new prefix"
  • The test "vitals logging_metrics" of EE has been covered by CE test "logs over UDP with default metrics"
  • Since CE does not support vitals, So we don't need EE tests "does not send vitals metrics when vitals is turned off"
  • The added "logs over UDP with default metrics" of CE tests is for GRPC which is missing in EE
  • "latency as gauge" Ditto

@mayocream
Copy link
Contributor

@vm-001 Thanks for the detailed explanation; I am okay with the changes.
Could you resolve all the conversations?

mayocream
mayocream previously approved these changes Aug 11, 2022
Copy link
Contributor

@mayocream mayocream left a comment

Choose a reason for hiding this comment

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

Approve for overall looks good

kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
kong/plugins/statsd/log.lua Outdated Show resolved Hide resolved
@vm-001 vm-001 force-pushed the feat/combine-stastd-advanced branch from 2eff413 to a9e7ab5 Compare August 11, 2022 08:40
@github-actions github-actions bot added the chore Not part of the core functionality of kong, but still needed label Aug 11, 2022
if err then
return nil, "failed to get from node cache: " .. err
end

cache_accessed(hit_lvl)
Copy link
Contributor

Choose a reason for hiding this comment

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

do we have performance number for this change? it looks like in a hot path

Copy link
Contributor

Choose a reason for hiding this comment

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

Opps, and it should only work if statsd plugin is enabled.

@ADD-SP
Copy link
Contributor

ADD-SP commented Aug 12, 2022

/perf simple

@ADD-SP
Copy link
Contributor

ADD-SP commented Aug 12, 2022

/perf

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 12, 2022

/perf simple

@@ -150,16 +150,49 @@ function _M.new(opts)
end


local function cache_accessed(hit_lvl)
Copy link
Contributor

@mayocream mayocream Aug 12, 2022

Choose a reason for hiding this comment

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

cache_accessed this function is only used by the statsd plugin, and should not be placed in kong.cache

if err then
return nil, "failed to get from node cache: " .. err
end

cache_accessed(hit_lvl)
Copy link
Contributor

Choose a reason for hiding this comment

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

Opps, and it should only work if statsd plugin is enabled.

@mayocream mayocream dismissed their stale review August 12, 2022 03:03

pending issues

@github-actions
Copy link
Contributor

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (simple)

Imgur Images Imgur Images Imgur Images Imgur Images

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #no_plugins #single_route
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.05ms    1.59ms  25.90ms   88.11%
    Req/Sec    34.84k     8.16k   56.49k    61.92%
  Latency Distribution
     50%  439.00us
     75%    0.90ms
     90%    3.09ms
     99%    7.90ms
  5206531 requests in 30.10s, 1.09GB read
Requests/sec: 172978.42
Transfer/sec:     37.12MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.69ms  29.57ms   88.21%
    Req/Sec    34.63k     8.25k   79.95k    61.16%
  Latency Distribution
     50%  453.00us
     75%    0.88ms
     90%    3.22ms
     99%    8.43ms
  5171795 requests in 30.10s, 1.08GB read
Requests/sec: 171824.40
Transfer/sec:     36.87MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.08ms    1.65ms  25.70ms   88.14%
    Req/Sec    34.28k     8.26k   55.27k    60.12%
  Latency Distribution
     50%  451.00us
     75%    0.92ms
     90%    3.20ms
     99%    8.24ms
  5123609 requests in 30.10s, 1.07GB read
Requests/sec: 170225.17
Transfer/sec:     36.53MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 171676.00
Latency Avg: 1.07ms    Max: 29.57ms
   P90 (ms): 3.09, 3.22, 3.2
   P99 (ms): 7.9, 8.43, 8.24
  
### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #no_plugins 10 services each has 10 routes
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.65ms  29.08ms   88.69%
    Req/Sec    32.01k     7.37k   50.69k    60.07%
  Latency Distribution
     50%  490.00us
     75%    0.95ms
     90%    3.12ms
     99%    8.29ms
  4793107 requests in 30.10s, 1.00GB read
Requests/sec: 159239.88
Transfer/sec:     34.17MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.66ms  41.66ms   88.70%
    Req/Sec    32.21k     7.32k   58.13k    61.33%
  Latency Distribution
     50%  482.00us
     75%    0.93ms
     90%    3.12ms
     99%    8.27ms
  4823346 requests in 30.10s, 1.01GB read
Requests/sec: 160245.10
Transfer/sec:     34.38MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.65ms  26.20ms   88.89%
    Req/Sec    31.74k     7.37k   60.20k    60.66%
  Latency Distribution
     50%  480.00us
     75%    1.00ms
     90%    3.06ms
     99%    8.27ms
  4752808 requests in 30.10s, 1.00GB read
Requests/sec: 157901.34
Transfer/sec:     33.88MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 159128.77
Latency Avg: 1.09ms    Max: 41.66ms
   P90 (ms): 3.12, 3.12, 3.06
   P99 (ms): 8.29, 8.27, 8.27
  
### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.62ms  33.72ms   90.59%
    Req/Sec    27.74k     6.12k   43.92k    63.99%
  Latency Distribution
     50%  566.00us
     75%    1.14ms
     90%    2.55ms
     99%    8.15ms
  4154045 requests in 30.10s, 0.87GB read
Requests/sec: 138008.62
Transfer/sec:     29.61MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.61ms  32.16ms   90.35%
    Req/Sec    27.92k     5.97k   52.48k    63.32%
  Latency Distribution
     50%  579.00us
     75%    1.08ms
     90%    2.61ms
     99%    7.98ms
  4181211 requests in 30.10s, 0.88GB read
Requests/sec: 138910.94
Transfer/sec:     29.81MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.62ms  34.64ms   90.62%
    Req/Sec    27.49k     5.90k   47.37k    62.66%
  Latency Distribution
     50%  586.00us
     75%    1.14ms
     90%    2.53ms
     99%    8.18ms
  4116054 requests in 30.10s, 0.86GB read
Requests/sec: 136746.54
Transfer/sec:     29.34MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 137888.70
Latency Avg: 1.12ms    Max: 34.64ms
   P90 (ms): 2.55, 2.61, 2.53
   P99 (ms): 8.15, 7.98, 8.18
  
### Test Suite: git:master #simple #hybrid #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.07ms    1.63ms  26.36ms   88.18%
    Req/Sec    34.23k     7.77k   54.38k    61.85%
  Latency Distribution
     50%  454.00us
     75%    0.90ms
     90%    3.16ms
     99%    8.08ms
  5115182 requests in 30.10s, 1.07GB read
Requests/sec: 169941.59
Transfer/sec:     36.46MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.70ms  30.42ms   88.29%
    Req/Sec    33.96k     8.25k   63.73k    62.45%
  Latency Distribution
     50%  463.00us
     75%    0.89ms
     90%    3.23ms
     99%    8.41ms
  5075593 requests in 30.10s, 1.06GB read
Requests/sec: 168629.80
Transfer/sec:     36.18MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.08ms    1.66ms  32.93ms   88.17%
    Req/Sec    34.05k     8.12k   59.13k    60.99%
  Latency Distribution
     50%  458.00us
     75%    0.90ms
     90%    3.21ms
     99%    8.25ms
  5087657 requests in 30.10s, 1.07GB read
Requests/sec: 169029.69
Transfer/sec:     36.27MB
### Combined result for Kong git:master:
RPS     Avg: 169200.36
Latency Avg: 1.08ms    Max: 32.93ms
   P90 (ms): 3.16, 3.23, 3.21
   P99 (ms): 8.08, 8.41, 8.25
  
### Test Suite: git:master #simple #hybrid #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.67ms  34.39ms   88.84%
    Req/Sec    31.76k     7.41k   50.42k    61.00%
  Latency Distribution
     50%  495.00us
     75%    0.94ms
     90%    3.10ms
     99%    8.37ms
  4755882 requests in 30.10s, 1.00GB read
Requests/sec: 158003.22
Transfer/sec:     33.90MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.65ms  26.57ms   88.86%
    Req/Sec    31.59k     7.72k   52.01k    61.59%
  Latency Distribution
     50%  494.00us
     75%    0.95ms
     90%    3.08ms
     99%    8.33ms
  4730963 requests in 30.10s, 0.99GB read
Requests/sec: 157175.43
Transfer/sec:     33.73MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.66ms  29.94ms   88.89%
    Req/Sec    31.59k     7.46k   57.33k    61.46%
  Latency Distribution
     50%  496.00us
     75%    0.97ms
     90%    3.08ms
     99%    8.36ms
  4730524 requests in 30.10s, 0.99GB read
Requests/sec: 157161.08
Transfer/sec:     33.72MB
### Combined result for Kong git:master:
RPS     Avg: 157446.58
Latency Avg: 1.10ms    Max: 34.39ms
   P90 (ms): 3.1, 3.08, 3.08
   P99 (ms): 8.37, 8.33, 8.36
  
### Test Suite: git:master #simple #hybrid #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.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.58ms  31.59ms   90.35%
    Req/Sec    28.04k     5.99k   44.96k    62.39%
  Latency Distribution
     50%  573.00us
     75%    1.07ms
     90%    2.56ms
     99%    7.92ms
  4199012 requests in 30.10s, 0.88GB read
Requests/sec: 139502.44
Transfer/sec:     29.93MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.13ms    1.65ms  29.51ms   90.52%
    Req/Sec    27.75k     6.13k   46.79k    63.12%
  Latency Distribution
     50%  573.00us
     75%    1.11ms
     90%    2.59ms
     99%    8.41ms
  4155373 requests in 30.10s, 0.87GB read
Requests/sec: 138053.21
Transfer/sec:     29.62MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.58ms  31.81ms   90.41%
    Req/Sec    27.72k     6.18k   48.58k    62.18%
  Latency Distribution
     50%  562.00us
     75%    1.14ms
     90%    2.58ms
     99%    7.82ms
  4142204 requests in 30.10s, 0.87GB read
Requests/sec: 137619.35
Transfer/sec:     29.53MB
### Combined result for Kong git:master:
RPS     Avg: 138391.67
Latency Avg: 1.12ms    Max: 31.81ms
   P90 (ms): 2.56, 2.59, 2.58
   P99 (ms): 7.92, 8.41, 7.82
  
### Test Suite: git:feat/combine-stastd-advanced #simple #no_plugins #single_route
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.07ms    1.62ms  28.32ms   88.13%
    Req/Sec    34.07k     7.97k   56.20k    62.58%
  Latency Distribution
     50%  457.00us
     75%    0.90ms
     90%    3.17ms
     99%    8.05ms
  5092243 requests in 30.10s, 1.07GB read
Requests/sec: 169182.98
Transfer/sec:     36.30MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.68ms  29.60ms   88.24%
    Req/Sec    33.71k     8.10k   54.89k    61.05%
  Latency Distribution
     50%  456.00us
     75%    0.94ms
     90%    3.23ms
     99%    8.36ms
  5037522 requests in 30.10s, 1.06GB read
Requests/sec: 167361.19
Transfer/sec:     35.91MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.08ms    1.63ms  30.50ms   88.25%
    Req/Sec    33.82k     7.76k   53.18k    61.25%
  Latency Distribution
     50%  456.00us
     75%    0.92ms
     90%    3.16ms
     99%    8.14ms
  5053737 requests in 30.10s, 1.06GB read
Requests/sec: 167900.58
Transfer/sec:     36.03MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 168148.25
Latency Avg: 1.08ms    Max: 30.50ms
   P90 (ms): 3.17, 3.23, 3.16
   P99 (ms): 8.05, 8.36, 8.14
  
### Test Suite: git:feat/combine-stastd-advanced #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.11ms    1.70ms  32.62ms   88.76%
    Req/Sec    31.78k     7.37k   48.60k    60.66%
  Latency Distribution
     50%  490.00us
     75%    0.95ms
     90%    3.18ms
     99%    8.56ms
  4760522 requests in 30.10s, 1.00GB read
Requests/sec: 158157.25
Transfer/sec:     33.94MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.11ms    1.72ms  37.07ms   89.16%
    Req/Sec    31.57k     7.41k   52.84k    61.20%
  Latency Distribution
     50%  484.00us
     75%    1.00ms
     90%    3.08ms
     99%    8.60ms
  4727201 requests in 30.10s, 0.99GB read
Requests/sec: 157050.39
Transfer/sec:     33.70MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.66ms  28.08ms   88.75%
    Req/Sec    32.00k     7.42k   68.14k    60.86%
  Latency Distribution
     50%  495.00us
     75%    0.92ms
     90%    3.12ms
     99%    8.34ms
  4791875 requests in 30.10s, 1.00GB read
Requests/sec: 159198.80
Transfer/sec:     34.16MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 158135.48
Latency Avg: 1.10ms    Max: 37.07ms
   P90 (ms): 3.18, 3.08, 3.12
   P99 (ms): 8.56, 8.6, 8.34
  
### Test Suite: git:feat/combine-stastd-advanced #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.15ms    1.73ms  31.76ms   90.20%
    Req/Sec    27.99k     6.61k   47.53k    61.40%
  Latency Distribution
     50%  579.00us
     75%    1.08ms
     90%    2.81ms
     99%    8.85ms
  4191433 requests in 30.10s, 0.88GB read
Requests/sec: 139250.68
Transfer/sec:     29.88MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.17ms    1.78ms  39.40ms   90.46%
    Req/Sec    27.84k     6.39k   51.61k    63.52%
  Latency Distribution
     50%  581.00us
     75%    1.09ms
     90%    2.80ms
     99%    9.05ms
  4167796 requests in 30.10s, 0.87GB read
Requests/sec: 138465.31
Transfer/sec:     29.71MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.13ms    1.67ms  31.66ms   90.17%
    Req/Sec    28.21k     6.18k   52.14k    61.26%
  Latency Distribution
     50%  576.00us
     75%    1.05ms
     90%    2.74ms
     99%    8.49ms
  4223645 requests in 30.10s, 0.89GB read
Requests/sec: 140321.13
Transfer/sec:     30.11MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 139345.71
Latency Avg: 1.15ms    Max: 39.40ms
   P90 (ms): 2.81, 2.8, 2.74
   P99 (ms): 8.85, 9.05, 8.49
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.11ms    1.74ms  31.26ms   88.36%
    Req/Sec    34.17k     8.42k   57.16k    60.65%
  Latency Distribution
     50%  457.00us
     75%    0.91ms
     90%    3.27ms
     99%    8.65ms
  5105992 requests in 30.10s, 1.07GB read
Requests/sec: 169641.45
Transfer/sec:     36.40MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.69ms  26.31ms   88.15%
    Req/Sec    34.12k     8.18k   59.22k    59.05%
  Latency Distribution
     50%  461.00us
     75%    0.90ms
     90%    3.26ms
     99%    8.46ms
  5100172 requests in 30.10s, 1.07GB read
Requests/sec: 169446.05
Transfer/sec:     36.36MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.71ms  26.16ms   88.03%
    Req/Sec    34.37k     8.18k   66.69k    60.69%
  Latency Distribution
     50%  459.00us
     75%    0.87ms
     90%    3.30ms
     99%    8.49ms
  5133643 requests in 30.10s, 1.08GB read
Requests/sec: 170556.51
Transfer/sec:     36.60MB
### Combined result for Kong git:master:
RPS     Avg: 169881.34
Latency Avg: 1.10ms    Max: 31.26ms
   P90 (ms): 3.27, 3.26, 3.3
   P99 (ms): 8.65, 8.46, 8.49
  
### 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.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.73ms  32.30ms   89.03%
    Req/Sec    31.55k     7.65k   50.12k    60.93%
  Latency Distribution
     50%  494.00us
     75%    0.97ms
     90%    3.13ms
     99%    8.65ms
  4724127 requests in 30.10s, 0.99GB read
Requests/sec: 156948.43
Transfer/sec:     33.68MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.09ms    1.64ms  30.67ms   88.93%
    Req/Sec    31.61k     7.27k   55.38k    59.93%
  Latency Distribution
     50%  494.00us
     75%    0.97ms
     90%    3.04ms
     99%    8.22ms
  4733691 requests in 30.10s, 0.99GB read
Requests/sec: 157266.16
Transfer/sec:     33.75MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10ms    1.67ms  30.10ms   88.57%
    Req/Sec    31.93k     7.53k   53.74k    59.60%
  Latency Distribution
     50%  503.00us
     75%    0.90ms
     90%    3.18ms
     99%    8.31ms
  4781544 requests in 30.10s, 1.00GB read
Requests/sec: 158856.01
Transfer/sec:     34.09MB
### Combined result for Kong git:master:
RPS     Avg: 157690.20
Latency Avg: 1.10ms    Max: 32.30ms
   P90 (ms): 3.13, 3.04, 3.18
   P99 (ms): 8.65, 8.22, 8.31
  
### 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.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.14ms    1.63ms  28.33ms   90.39%
    Req/Sec    27.51k     6.14k   45.28k    63.65%
  Latency Distribution
     50%  587.00us
     75%    1.11ms
     90%    2.64ms
     99%    8.28ms
  4119271 requests in 30.10s, 0.86GB read
Requests/sec: 136853.21
Transfer/sec:     29.37MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.62ms  37.47ms   90.36%
    Req/Sec    27.59k     6.14k   49.96k    63.18%
  Latency Distribution
     50%  602.00us
     75%    1.07ms
     90%    2.62ms
     99%    8.08ms
  4122637 requests in 30.10s, 0.86GB read
Requests/sec: 136967.60
Transfer/sec:     29.39MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.3:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.12ms    1.63ms  32.78ms   90.29%
    Req/Sec    27.89k     6.09k   49.87k    61.72%
  Latency Distribution
     50%  602.00us
     75%    1.02ms
     90%    2.65ms
     99%    8.22ms
  4167816 requests in 30.10s, 0.87GB read
Requests/sec: 138469.25
Transfer/sec:     29.71MB
### Combined result for Kong git:master:
RPS     Avg: 137430.02
Latency Avg: 1.13ms    Max: 37.47ms
   P90 (ms): 2.64, 2.62, 2.65
   P99 (ms): 8.28, 8.08, 8.22
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts for detailed results and interactive SVG flamegraphs.

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 12, 2022

/perf simple

@github-actions
Copy link
Contributor

🚀 Performance test result

Test Suite: 01-rps 02-flamegraph (simple)

Imgur Images Imgur Images Imgur Images Imgur Images

Click to expand
Please see Github Actions artifacts for flamegraphs.

  ### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #no_plugins #single_route
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.17ms    1.83ms  28.65ms   88.12%
    Req/Sec    33.00k     8.70k   55.71k    60.32%
  Latency Distribution
     50%  474.00us
     75%    0.94ms
     90%    3.52ms
     99%    9.11ms
  4931166 requests in 30.10s, 1.03GB read
Requests/sec: 163828.23
Transfer/sec:     35.15MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.90ms  35.01ms   88.49%
    Req/Sec    32.53k     8.86k   54.28k    61.98%
  Latency Distribution
     50%  469.00us
     75%    1.00ms
     90%    3.52ms
     99%    9.36ms
  4861653 requests in 30.10s, 1.02GB read
Requests/sec: 161520.49
Transfer/sec:     34.66MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.90ms  34.71ms   88.46%
    Req/Sec    32.59k     8.99k   59.61k    58.32%
  Latency Distribution
     50%  466.00us
     75%    1.01ms
     90%    3.52ms
     99%    9.34ms
  4870699 requests in 30.10s, 1.02GB read
Requests/sec: 161821.61
Transfer/sec:     34.72MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 162390.11
Latency Avg: 1.18ms    Max: 35.01ms
   P90 (ms): 3.52, 3.52, 3.52
   P99 (ms): 9.11, 9.36, 9.34
  
### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #no_plugins 10 services each has 10 routes
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.91ms  39.78ms   88.82%
    Req/Sec    30.52k     8.32k   48.87k    57.87%
  Latency Distribution
     50%  506.00us
     75%    1.02ms
     90%    3.49ms
     99%    9.52ms
  4570190 requests in 30.10s, 0.96GB read
Requests/sec: 151834.06
Transfer/sec:     32.58MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.87ms  31.52ms   88.84%
    Req/Sec    30.42k     8.32k   55.28k    59.14%
  Latency Distribution
     50%  511.00us
     75%    1.04ms
     90%    3.44ms
     99%    9.31ms
  4555481 requests in 30.10s, 0.95GB read
Requests/sec: 151345.16
Transfer/sec:     32.47MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.88ms  34.54ms   89.00%
    Req/Sec    30.32k     8.24k   57.68k    60.53%
  Latency Distribution
     50%  504.00us
     75%    1.05ms
     90%    3.41ms
     99%    9.42ms
  4539583 requests in 30.10s, 0.95GB read
Requests/sec: 150817.58
Transfer/sec:     32.36MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 151332.27
Latency Avg: 1.20ms    Max: 39.78ms
   P90 (ms): 3.49, 3.44, 3.41
   P99 (ms): 9.52, 9.31, 9.42
  
### Test Suite: git:feat/combine-stastd-advanced #simple #hybrid #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.27ms    1.97ms  37.87ms   90.35%
    Req/Sec    26.82k     7.15k   45.27k    62.33%
  Latency Distribution
     50%  574.00us
     75%    1.24ms
     90%    3.13ms
     99%   10.12ms
  4016548 requests in 30.10s, 861.84MB read
Requests/sec: 133440.48
Transfer/sec:     28.63MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.28ms    2.02ms  37.20ms   90.55%
    Req/Sec    26.58k     7.17k   52.93k    60.60%
  Latency Distribution
     50%  579.00us
     75%    1.22ms
     90%    3.10ms
     99%   10.31ms
  3979610 requests in 30.10s, 853.92MB read
Requests/sec: 132213.17
Transfer/sec:     28.37MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.79ms  36.70ms   90.31%
    Req/Sec    26.76k     7.18k   44.30k    59.27%
  Latency Distribution
     50%  582.00us
     75%    1.19ms
     90%    2.88ms
     99%    8.99ms
  4007524 requests in 30.10s, 859.91MB read
Requests/sec: 133140.88
Transfer/sec:     28.57MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 132931.51
Latency Avg: 1.25ms    Max: 37.87ms
   P90 (ms): 3.13, 3.1, 2.88
   P99 (ms): 10.12, 10.31, 8.99
  
### Test Suite: git:master #simple #hybrid #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.97ms  42.24ms   88.56%
    Req/Sec    32.49k     8.90k   53.21k    59.79%
  Latency Distribution
     50%  470.00us
     75%    1.00ms
     90%    3.59ms
     99%    9.61ms
  4855705 requests in 30.10s, 1.02GB read
Requests/sec: 161325.04
Transfer/sec:     34.62MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.86ms  29.59ms   88.20%
    Req/Sec    32.44k     8.74k   54.61k    60.99%
  Latency Distribution
     50%  475.00us
     75%    0.99ms
     90%    3.56ms
     99%    9.25ms
  4847977 requests in 30.10s, 1.02GB read
Requests/sec: 161065.26
Transfer/sec:     34.56MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.86ms  32.08ms   88.31%
    Req/Sec    32.48k     8.94k   57.75k    58.19%
  Latency Distribution
     50%  469.00us
     75%    1.00ms
     90%    3.54ms
     99%    9.24ms
  4854753 requests in 30.10s, 1.02GB read
Requests/sec: 161293.86
Transfer/sec:     34.61MB
### Combined result for Kong git:master:
RPS     Avg: 161228.05
Latency Avg: 1.20ms    Max: 42.24ms
   P90 (ms): 3.59, 3.56, 3.54
   P99 (ms): 9.61, 9.25, 9.24
  
### Test Suite: git:master #simple #hybrid #no_plugins 10 services each has 10 routes
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.86ms  35.52ms   89.02%
    Req/Sec    30.24k     8.11k   48.79k    59.14%
  Latency Distribution
     50%  504.00us
     75%    1.05ms
     90%    3.38ms
     99%    9.28ms
  4528395 requests in 30.10s, 0.95GB read
Requests/sec: 150445.04
Transfer/sec:     32.28MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.86ms  35.24ms   88.80%
    Req/Sec    30.63k     8.03k   58.37k    58.60%
  Latency Distribution
     50%  504.00us
     75%    1.01ms
     90%    3.44ms
     99%    9.21ms
  4586767 requests in 30.10s, 0.96GB read
Requests/sec: 152384.68
Transfer/sec:     32.70MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.86ms  36.04ms   89.04%
    Req/Sec    30.26k     7.95k   50.04k    60.13%
  Latency Distribution
     50%  514.00us
     75%    1.04ms
     90%    3.38ms
     99%    9.38ms
  4532069 requests in 30.10s, 0.95GB read
Requests/sec: 150567.46
Transfer/sec:     32.31MB
### Combined result for Kong git:master:
RPS     Avg: 151132.39
Latency Avg: 1.19ms    Max: 36.04ms
   P90 (ms): 3.38, 3.44, 3.38
   P99 (ms): 9.28, 9.21, 9.38
  
### Test Suite: git:master #simple #hybrid #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.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.81ms  40.29ms   90.42%
    Req/Sec    26.96k     6.70k   43.53k    62.19%
  Latency Distribution
     50%  594.00us
     75%    1.15ms
     90%    2.86ms
     99%    9.07ms
  4037000 requests in 30.10s, 866.23MB read
Requests/sec: 134119.95
Transfer/sec:     28.78MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.22ms    1.88ms  42.97ms   90.62%
    Req/Sec    26.90k     6.92k   45.53k    60.47%
  Latency Distribution
     50%  584.00us
     75%    1.17ms
     90%    2.86ms
     99%    9.53ms
  4028625 requests in 30.10s, 864.43MB read
Requests/sec: 133841.53
Transfer/sec:     28.72MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.23ms    1.88ms  34.10ms   90.53%
    Req/Sec    26.70k     6.89k   45.36k    59.53%
  Latency Distribution
     50%  596.00us
     75%    1.19ms
     90%    2.91ms
     99%    9.61ms
  3998193 requests in 30.10s, 857.91MB read
Requests/sec: 132830.90
Transfer/sec:     28.50MB
### Combined result for Kong git:master:
RPS     Avg: 133597.46
Latency Avg: 1.22ms    Max: 42.97ms
   P90 (ms): 2.86, 2.86, 2.91
   P99 (ms): 9.07, 9.53, 9.61
  
### Test Suite: git:feat/combine-stastd-advanced #simple #no_plugins #single_route
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.88ms  33.46ms   88.14%
    Req/Sec    32.48k     8.93k   57.16k    58.59%
  Latency Distribution
     50%  474.00us
     75%    0.98ms
     90%    3.60ms
     99%    9.28ms
  4852511 requests in 30.10s, 1.02GB read
Requests/sec: 161215.62
Transfer/sec:     34.59MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.90ms  34.57ms   88.17%
    Req/Sec    32.70k     8.80k   65.37k    59.89%
  Latency Distribution
     50%  469.00us
     75%    0.96ms
     90%    3.62ms
     99%    9.47ms
  4883082 requests in 30.10s, 1.02GB read
Requests/sec: 162236.15
Transfer/sec:     34.81MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.92ms  42.49ms   88.43%
    Req/Sec    32.36k     8.88k   74.80k    61.29%
  Latency Distribution
     50%  476.00us
     75%    0.99ms
     90%    3.58ms
     99%    9.51ms
  4832158 requests in 30.10s, 1.01GB read
Requests/sec: 160540.61
Transfer/sec:     34.45MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 161330.79
Latency Avg: 1.20ms    Max: 42.49ms
   P90 (ms): 3.6, 3.62, 3.58
   P99 (ms): 9.28, 9.47, 9.51
  
### Test Suite: git:feat/combine-stastd-advanced #simple #no_plugins 10 services each has 10 routes
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.90ms  33.96ms   88.70%
    Req/Sec    30.52k     8.45k   49.77k    56.88%
  Latency Distribution
     50%  521.00us
     75%    0.99ms
     90%    3.52ms
     99%    9.52ms
  4570769 requests in 30.10s, 0.96GB read
Requests/sec: 151853.21
Transfer/sec:     32.58MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.18ms    1.84ms  35.19ms   88.76%
    Req/Sec    30.67k     8.14k   53.69k    60.60%
  Latency Distribution
     50%  489.00us
     75%    1.03ms
     90%    3.42ms
     99%    9.09ms
  4592420 requests in 30.10s, 0.96GB read
Requests/sec: 152573.11
Transfer/sec:     32.74MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms    1.86ms  42.65ms   88.87%
    Req/Sec    30.47k     8.12k   51.05k    58.94%
  Latency Distribution
     50%  518.00us
     75%    1.00ms
     90%    3.41ms
     99%    9.18ms
  4563172 requests in 30.10s, 0.96GB read
Requests/sec: 151600.80
Transfer/sec:     32.53MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 152009.04
Latency Avg: 1.19ms    Max: 42.65ms
   P90 (ms): 3.52, 3.42, 3.41
   P99 (ms): 9.52, 9.09, 9.18
  
### Test Suite: git:feat/combine-stastd-advanced #simple #key-auth 10 services each has 10 routes with key-auth, 100 consumers
### Result for Kong git:feat/combine-stastd-advanced (run 1):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.25ms    1.97ms  39.15ms   90.81%
    Req/Sec    26.79k     6.90k   43.73k    61.00%
  Latency Distribution
     50%  567.00us
     75%    1.25ms
     90%    2.92ms
     99%    9.98ms
  4011577 requests in 30.10s, 860.78MB read
Requests/sec: 133275.27
Transfer/sec:     28.60MB
### Result for Kong git:feat/combine-stastd-advanced (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.23ms    1.84ms  29.10ms   90.26%
    Req/Sec    26.89k     6.91k   45.48k    60.53%
  Latency Distribution
     50%  580.00us
     75%    1.17ms
     90%    2.97ms
     99%    9.22ms
  4026388 requests in 30.10s, 863.95MB read
Requests/sec: 133767.61
Transfer/sec:     28.70MB
### Result for Kong git:feat/combine-stastd-advanced (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.81ms  31.92ms   90.37%
    Req/Sec    26.84k     6.58k   45.56k    60.86%
  Latency Distribution
     50%  586.00us
     75%    1.17ms
     90%    2.88ms
     99%    9.09ms
  4018292 requests in 30.10s, 862.22MB read
Requests/sec: 133498.29
Transfer/sec:     28.65MB
### Combined result for Kong git:feat/combine-stastd-advanced:
RPS     Avg: 133513.72
Latency Avg: 1.23ms    Max: 39.15ms
   P90 (ms): 2.92, 2.97, 2.88
   P99 (ms): 9.98, 9.22, 9.09
  
### Test Suite: git:master #simple #no_plugins #single_route
### Result for Kong git:master (run 1):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.91ms  33.62ms   88.43%
    Req/Sec    32.38k     8.99k   52.63k    59.12%
  Latency Distribution
     50%  470.00us
     75%    1.02ms
     90%    3.56ms
     99%    9.48ms
  4839113 requests in 30.10s, 1.01GB read
Requests/sec: 160773.37
Transfer/sec:     34.50MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.22ms    1.96ms  38.56ms   88.41%
    Req/Sec    32.61k     9.03k   55.63k    59.32%
  Latency Distribution
     50%  461.00us
     75%    1.02ms
     90%    3.64ms
     99%    9.74ms
  4873914 requests in 30.10s, 1.02GB read
Requests/sec: 161926.60
Transfer/sec:     34.75MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/s1-r1
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.18ms    1.84ms  33.31ms   88.01%
    Req/Sec    32.58k     8.71k   54.80k    59.32%
  Latency Distribution
     50%  485.00us
     75%    0.94ms
     90%    3.58ms
     99%    9.10ms
  4869406 requests in 30.10s, 1.02GB read
Requests/sec: 161776.88
Transfer/sec:     34.71MB
### Combined result for Kong git:master:
RPS     Avg: 161492.28
Latency Avg: 1.20ms    Max: 38.56ms
   P90 (ms): 3.56, 3.64, 3.58
   P99 (ms): 9.48, 9.74, 9.1
  
### 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.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.18ms    1.83ms  31.50ms   88.71%
    Req/Sec    30.66k     8.10k   50.78k    58.87%
  Latency Distribution
     50%  510.00us
     75%    0.98ms
     90%    3.42ms
     99%    9.15ms
  4590812 requests in 30.10s, 0.96GB read
Requests/sec: 152519.44
Transfer/sec:     32.73MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.91ms  34.82ms   88.88%
    Req/Sec    30.61k     8.44k   56.05k    60.47%
  Latency Distribution
     50%  502.00us
     75%    1.02ms
     90%    3.47ms
     99%    9.50ms
  4582828 requests in 30.10s, 0.96GB read
Requests/sec: 152253.73
Transfer/sec:     32.67MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    1.94ms  34.90ms   88.94%
    Req/Sec    30.52k     8.26k   53.71k    58.07%
  Latency Distribution
     50%  506.00us
     75%    1.02ms
     90%    3.50ms
     99%    9.70ms
  4569095 requests in 30.10s, 0.96GB read
Requests/sec: 151798.06
Transfer/sec:     32.57MB
### Combined result for Kong git:master:
RPS     Avg: 152190.41
Latency Avg: 1.20ms    Max: 34.90ms
   P90 (ms): 3.42, 3.47, 3.5
   P99 (ms): 9.15, 9.5, 9.7
  
### 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.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.79ms  34.99ms   90.48%
    Req/Sec    26.81k     6.50k   43.99k    60.80%
  Latency Distribution
     50%  606.00us
     75%    1.14ms
     90%    2.80ms
     99%    8.85ms
  4015170 requests in 30.10s, 861.55MB read
Requests/sec: 133395.11
Transfer/sec:     28.62MB
### Result for Kong git:master (run 2):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.25ms    1.91ms  29.72ms   90.40%
    Req/Sec    26.67k     7.04k   43.62k    61.40%
  Latency Distribution
     50%  600.00us
     75%    1.14ms
     90%    3.00ms
     99%    9.71ms
  3993973 requests in 30.10s, 857.00MB read
Requests/sec: 132690.56
Transfer/sec:     28.47MB
### Result for Kong git:master (run 3):
Running 30s test @ http://10.68.128.1:8000/
  5 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.20ms    1.75ms  32.70ms   90.33%
    Req/Sec    26.72k     6.63k   43.43k    62.52%
  Latency Distribution
     50%  596.00us
     75%    1.16ms
     90%    2.83ms
     99%    8.64ms
  4000907 requests in 30.10s, 858.49MB read
Requests/sec: 132920.79
Transfer/sec:     28.52MB
### Combined result for Kong git:master:
RPS     Avg: 133002.15
Latency Avg: 1.22ms    Max: 34.99ms
   P90 (ms): 2.8, 3, 2.83
   P99 (ms): 8.85, 9.71, 8.64
  

Kong error logs are also available in Github Actions artifacts.

Download Artifacts for detailed results and interactive SVG flamegraphs.

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 12, 2022

The default metrics of statsd with kong-ee:

[
  "kong.node.eb6c7cacfddc.shdict.kong.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133345280|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.free_space:12492800|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.free_space:133419008|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.capacity:8388608|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.free_space:8327168|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.capacity:10485760|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.free_space:10412032|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.free_space:5197824|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.free_space:5201920|g",
  "kong.route.5c8506d5-ff04-4c5c-bbc8-f20c5495cf46.user.robert.status.200:1|c",
  "kong.service.statsd1.cache_datastore_hits_total:3|c",
  "kong.service.statsd1.cache_datastore_misses_total:2|c",
  "kong.service.statsd1.kong_latency:15|ms",
  "kong.service.statsd1.latency:27|ms",
  "kong.service.statsd1.request.count:1|c",
  "kong.service.statsd1.request.size:119|ms",
  "kong.service.statsd1.request.status.200:1|c",
  "kong.service.statsd1.request.status.total:1|c",
  "kong.service.statsd1.response.size:1451|ms",
  "kong.service.statsd1.upstream_latency:12|ms",
  "kong.service.statsd1.user.robert.request.count:1|c",
  "kong.service.statsd1.user.robert.request.status.200:1|c",
  "kong.service.statsd1.user.robert.request.status.total:1|c",
  "kong.service.statsd1.user.uniques:robert|s",
  "kong.service.statsd1.workspace.1bf2f42d-4f41-4c84-89bd-2eb8f07fea44.status.200:1|c"
]

The default metrics of statsd-advanced with kong-ee:

[
  "kong.node.eb6c7cacfddc.shdict.kong.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_cluster_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache.free_space:133345280|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_core_db_cache_miss.free_space:12492800|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_counters.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.capacity:134217728|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache.free_space:133419008|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_db_cache_miss.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_healthchecks.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_keyring.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.capacity:8388608|g",
  "kong.node.eb6c7cacfddc.shdict.kong_locks.free_space:8327168|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.capacity:10485760|g",
  "kong.node.eb6c7cacfddc.shdict.kong_mock_upstream_loggers.free_space:10412032|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_process_events.free_space:5201920|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.capacity:12582912|g",
  "kong.node.eb6c7cacfddc.shdict.kong_rate_limiting_counters.free_space:12496896|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_consumers.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_routes.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_reports_services.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_counters.free_space:5197824|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.capacity:1048576|g",
  "kong.node.eb6c7cacfddc.shdict.kong_vitals_lists.free_space:1032192|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.capacity:5242880|g",
  "kong.node.eb6c7cacfddc.shdict.prometheus_metrics.free_space:5201920|g",
  "kong.route.5c8506d5-ff04-4c5c-bbc8-f20c5495cf46.user.robert.status.200:1|c",
  "kong.service.statsd1.cache_datastore_hits_total:3|c",
  "kong.service.statsd1.cache_datastore_misses_total:2|c",
  "kong.service.statsd1.kong_latency:15|ms",
  "kong.service.statsd1.latency:27|ms",
  "kong.service.statsd1.request.count:1|c",
  "kong.service.statsd1.request.size:119|ms",
  "kong.service.statsd1.response.size:1451|ms",
  "kong.service.statsd1.status.200:1|c",
  "kong.service.statsd1.upstream_latency:12|ms",
  "kong.service.statsd1.user.robert.request.count:1|c",
  "kong.service.statsd1.user.robert.status.200:1|c",
  "kong.service.statsd1.user.uniques:robert|s",
  "kong.service.statsd1.workspace.1bf2f42d-4f41-4c84-89bd-2eb8f07fea44.status.200:1|c"
]
49,50d48
<   "kong.service.statsd1.request.status.200:1|c",
<   "kong.service.statsd1.request.status.total:1|c",
51a50
>   "kong.service.statsd1.status.200:1|c",
54,55c53
<   "kong.service.statsd1.user.robert.request.status.200:1|c",
<   "kong.service.statsd1.user.robert.request.status.total:1|c",
---
>   "kong.service.statsd1.user.robert.status.200:1|c",

@vm-001
Copy link
Contributor Author

vm-001 commented Aug 12, 2022

/perf simple

@vm-001 vm-001 changed the title feat(stastd) merge stastd-advanced into stastd feat(statsd) merge statsd-advanced into statsd Aug 12, 2022
@vm-001 vm-001 force-pushed the feat/combine-stastd-advanced branch from 9112cbd to c0d91a2 Compare August 12, 2022 08:59
CHANGELOG.md Outdated
@@ -218,6 +220,7 @@
`kong.response.getRawBody`, `kong.service.response.getRawBody` and Python's `kong.request.get_raw_body`,
`kong.response.get_raw_body`, `kong.service.response.get_raw_body` respectively.
[#8623](https://github.com/Kong/kong/pull/8623)
- Statsd Advanced Plugin has been deprecated.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this line

@@ -337,6 +340,8 @@
- **AWS-Lambda**: add support for cross account invocation through
configuration properties `aws_assume_role_arn` and
`aws_role_session_name`.[#8900](https://github.com/Kong/kong/pull/8900)
- **Statsd**: :fireworks: **Newly open-sourced plugin capabilities**: All capabilities of [Statsd Advanced](https://docs.konghq.com/hub/kong-inc/statsd-advanced/) are now bundled in [Statsd](https://docs.konghq.com/hub/kong-inc/statsd).
Copy link
Contributor

Choose a reason for hiding this comment

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

remove these lines, no configuration changes were made

@vm-001 vm-001 force-pushed the feat/combine-stastd-advanced branch from fa51832 to f8cabed Compare August 19, 2022 03:32
@dndx dndx merged commit bcb9761 into master Aug 19, 2022
@dndx dndx deleted the feat/combine-stastd-advanced branch August 19, 2022 16:56
Water-Melon added a commit that referenced this pull request Jun 20, 2024
cherry-pick from kong/kong-ee/#9046
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog chore Not part of the core functionality of kong, but still needed plugins/statsd size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants