|
| 1 | +# Results |
| 2 | + |
| 3 | +## Test environment |
| 4 | + |
| 5 | +GKE cluster: |
| 6 | + |
| 7 | +- Node count: 3 |
| 8 | +- Instance Type: e2-medium |
| 9 | +- k8s version: 1.27.3-gke.100 |
| 10 | +- Zone: europe-west2-b |
| 11 | +- Total vCPUs: 6 |
| 12 | +- Total RAM: 12GB |
| 13 | +- Max pods per node: 110 |
| 14 | + |
| 15 | +Test VM: |
| 16 | + |
| 17 | +- Instance Type: e2-medium |
| 18 | +- Zone: europe-west2-b |
| 19 | +- vCPUS: 2 |
| 20 | +- RAM: 4GB |
| 21 | + |
| 22 | +NGF deployment: |
| 23 | + |
| 24 | +- NGF version: edge - git commit 21a2507d3d25ac0428384dce2c042799ed28b856 |
| 25 | +- NGINX Version: 1.25.3 |
| 26 | + |
| 27 | +## Summary |
| 28 | + |
| 29 | +- Path based routing performance has decreased slightly since 1.0.0 |
| 30 | +- Header based routing performance has increased significantly since 1.0.0 |
| 31 | +- Query based routing performance has slightly increased since 1.0.0 |
| 32 | +- Method based routing on average between GET and POST based has remained roughly the same as v1.0.0, but in this run |
| 33 | + the performance of the POST method was significantly less than that of the GET method |
| 34 | + |
| 35 | +## Test1: Running latte path based routing |
| 36 | + |
| 37 | +```console |
| 38 | +Running 30s test @ http://cafe.example.com/latte |
| 39 | + 2 threads and 10 connections |
| 40 | + Thread Stats Avg Stdev Max +/- Stdev |
| 41 | + Latency 5.90ms 5.95ms 93.07ms 91.58% |
| 42 | + Req/Sec 1.02k 229.69 1.92k 75.67% |
| 43 | + Latency Distribution |
| 44 | + 50% 4.35ms |
| 45 | + 75% 6.50ms |
| 46 | + 90% 10.73ms |
| 47 | + 99% 32.50ms |
| 48 | + 60729 requests in 30.02s, 21.66MB read |
| 49 | +Requests/sec: 2023.13 |
| 50 | +Transfer/sec: 738.91KB |
| 51 | +``` |
| 52 | + |
| 53 | +## Test2: Running coffee header based routing |
| 54 | + |
| 55 | +```console |
| 56 | +Running 30s test @ http://cafe.example.com/coffee |
| 57 | + 2 threads and 10 connections |
| 58 | + Thread Stats Avg Stdev Max +/- Stdev |
| 59 | + Latency 6.83ms 7.92ms 136.86ms 93.66% |
| 60 | + Req/Sec 0.89k 274.77 1.68k 68.00% |
| 61 | + Latency Distribution |
| 62 | + 50% 4.98ms |
| 63 | + 75% 7.56ms |
| 64 | + 90% 11.89ms |
| 65 | + 99% 44.04ms |
| 66 | + 53421 requests in 30.01s, 19.10MB read |
| 67 | +Requests/sec: 1779.97 |
| 68 | +Transfer/sec: 651.84KB |
| 69 | +``` |
| 70 | + |
| 71 | +## Test3: Running coffee query based routing |
| 72 | + |
| 73 | +```console |
| 74 | +Running 30s test @ http://cafe.example.com/coffee?TEST=v2 |
| 75 | + 2 threads and 10 connections |
| 76 | + Thread Stats Avg Stdev Max +/- Stdev |
| 77 | + Latency 6.84ms 7.76ms 129.66ms 93.62% |
| 78 | + Req/Sec 0.88k 206.19 1.58k 77.67% |
| 79 | + Latency Distribution |
| 80 | + 50% 4.83ms |
| 81 | + 75% 7.63ms |
| 82 | + 90% 11.87ms |
| 83 | + 99% 41.39ms |
| 84 | + 52846 requests in 30.01s, 19.30MB read |
| 85 | +Requests/sec: 1760.75 |
| 86 | +Transfer/sec: 658.55KB |
| 87 | +``` |
| 88 | + |
| 89 | +## Test4: Running tea GET method based routing |
| 90 | + |
| 91 | +```console |
| 92 | +Running 30s test @ http://cafe.example.com/tea |
| 93 | + 2 threads and 10 connections |
| 94 | + Thread Stats Avg Stdev Max +/- Stdev |
| 95 | + Latency 6.55ms 6.41ms 97.49ms 91.74% |
| 96 | + Req/Sec 0.90k 190.25 1.64k 77.17% |
| 97 | + Latency Distribution |
| 98 | + 50% 4.85ms |
| 99 | + 75% 7.55ms |
| 100 | + 90% 11.80ms |
| 101 | + 99% 35.33ms |
| 102 | + 53661 requests in 30.02s, 19.04MB read |
| 103 | +Requests/sec: 1787.34 |
| 104 | +Transfer/sec: 649.30KB |
| 105 | +``` |
| 106 | + |
| 107 | +## Test5: Running tea POST method based routing |
| 108 | + |
| 109 | +```console |
| 110 | +Running 30s test @ http://cafe.example.com/tea |
| 111 | + 2 threads and 10 connections |
| 112 | + Thread Stats Avg Stdev Max +/- Stdev |
| 113 | + Latency 31.45ms 43.10ms 408.63ms 81.26% |
| 114 | + Req/Sec 458.81 332.92 1.73k 61.26% |
| 115 | + Latency Distribution |
| 116 | + 50% 6.70ms |
| 117 | + 75% 51.43ms |
| 118 | + 90% 107.48ms |
| 119 | + 99% 146.54ms |
| 120 | + 26914 requests in 30.03s, 9.55MB read |
| 121 | +Requests/sec: 896.12 |
| 122 | +Transfer/sec: 325.54KB |
| 123 | +``` |
0 commit comments