From c0f227b9f930b3ee09beaeda6940d985554f571b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Thu, 19 Aug 2021 11:47:33 +0200 Subject: [PATCH] README: add more aquatic_ws load test results --- README.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a5fc464..34a5b4a 100644 --- a/README.md +++ b/README.md @@ -155,19 +155,26 @@ of the `aquatic_http` section above. #### Benchmarks -Performance was compared to -[wt-tracker](https://github.com/Novage/wt-tracker) and [bittorrent-tracker](https://github.com/webtorrent/bittorrent-tracker) using -`aquatic_ws_load_test` with one worker, 16 connections and 2 offers per request. +[wt-tracker]: https://github.com/Novage/wt-tracker +[bittorrent-tracker]: https://github.com/webtorrent/bittorrent-tracker -| tracker | responses per second | -|------------------------|----------------------| -| __aquatic__ | 126k | -| __wt-tracker__ | 54k | -| __bittorrent-tracker__ | 28k | +Server responses per second, best result in bold: -Both reference trackers reached 100% single-core utilization. +| workers | aquatic | [wt-tracker] | [bittorrent-tracker] | +|---------|------------|--------------|----------------------| +| 1 | n/a | __117k__ | 45k | +| 2 | __225k__ | n/a | n/a | +| 4 | __627k__ | n/a | n/a | +| 6 | __831k__* | n/a | n/a | +| 8 | __1209k__* | n/a | n/a | +| 10 | __1455k__* | n/a | n/a | +| 12 | __1650k__* | n/a | n/a | +| 14 | __1804k__* | n/a | n/a | +| 16 | __1789k__* | n/a | n/a | -This benchmark is not very realistic, as it simulates a tiny number of clients, each sending a large number of requests. Nontheless, I think that it gives a useful indication of relative performance. +\* Using a VPS with 32 vCPUs. The other measurements were made using a 16 vCPU VPS. + +This benchmark is not very realistic, as it simulates a small number of clients, each sending a large number of requests. Nonetheless, I think that it gives a useful indication of relative performance. ## Load testing