|
| 1 | +# Results |
| 2 | + |
| 3 | +## Test environment |
| 4 | + |
| 5 | +NGINX Plus: true |
| 6 | + |
| 7 | +NGINX Gateway Fabric: |
| 8 | + |
| 9 | +- Commit: 8be03e1fc5161a2b1bc0962fb0d8732114a9093d |
| 10 | +- Date: 2025-01-14T18:57:38Z |
| 11 | +- Dirty: true |
| 12 | + |
| 13 | +GKE Cluster: |
| 14 | + |
| 15 | +- Node count: 3 |
| 16 | +- k8s version: v1.30.6-gke.1596000 |
| 17 | +- vCPUs per node: 2 |
| 18 | +- RAM per node: 4018128Ki |
| 19 | +- Max pods per node: 110 |
| 20 | +- Zone: us-central1-c |
| 21 | +- Instance Type: e2-medium |
| 22 | + |
| 23 | +## Traffic |
| 24 | + |
| 25 | +HTTP: |
| 26 | + |
| 27 | +```text |
| 28 | +Running 5760m test @ http://cafe.example.com/coffee |
| 29 | + 2 threads and 100 connections |
| 30 | + Thread Stats Avg Stdev Max +/- Stdev |
| 31 | + Latency 178.76ms 115.93ms 1.54s 65.67% |
| 32 | + Req/Sec 298.56 193.44 2.46k 65.81% |
| 33 | + 202236770 requests in 5760.00m, 69.39GB read |
| 34 | + Socket errors: connect 0, read 68, write 118, timeout 4 |
| 35 | + Non-2xx or 3xx responses: 22514 |
| 36 | +Requests/sec: 585.18 |
| 37 | +Transfer/sec: 210.54KB |
| 38 | +``` |
| 39 | + |
| 40 | +HTTPS: |
| 41 | + |
| 42 | +```text |
| 43 | +Running 5760m test @ https://cafe.example.com/tea |
| 44 | + 2 threads and 100 connections |
| 45 | + Thread Stats Avg Stdev Max +/- Stdev |
| 46 | + Latency 178.97ms 115.95ms 1.45s 65.64% |
| 47 | + Req/Sec 297.98 193.03 1.82k 65.83% |
| 48 | + 201870214 requests in 5760.00m, 68.09GB read |
| 49 | + Socket errors: connect 95, read 57, write 0, timeout 0 |
| 50 | + Non-2xx or 3xx responses: 6 |
| 51 | +Requests/sec: 584.12 |
| 52 | +Transfer/sec: 206.60KB |
| 53 | +``` |
| 54 | + |
| 55 | + |
| 56 | +### Logs |
| 57 | + |
| 58 | +### nginx-gateway |
| 59 | +```text |
| 60 | +error=pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:251: Failed to watch *v1alpha1.ClientSettingsPolicy: clientsettingspolicies.gateway.nginx.org is forbidden: User "system:serviceaccount:nginx-gateway:ngf-longevity-nginx-gateway-fabric" cannot watch resource "clientsettingspolicies" in API group "gateway.nginx.org" at the cluster scope;level=error;logger=UnhandledError;msg=Unhandled Error;stacktrace=k8s.io/client-go/tools/cache.DefaultWatchErrorHandler |
| 61 | + pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:166 |
| 62 | +k8s.io/client-go/tools/cache.(*Reflector).Run.func1 |
| 63 | + pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:316 |
| 64 | +k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1 |
| 65 | + pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:226 |
| 66 | +k8s.io/apimachinery/pkg/util/wait.BackoffUntil |
| 67 | + pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:227 |
| 68 | +k8s.io/client-go/tools/cache.(*Reflector).Run |
| 69 | + pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:314 |
| 70 | +k8s.io/client-go/tools/cache.(*controller).Run.(*Group).StartWithChannel.func2 |
| 71 | + pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:55 |
| 72 | +k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1 |
| 73 | + pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:72;ts=2025-01-14T20:45:36Z |
| 74 | +``` |
| 75 | + |
| 76 | +### nginx |
| 77 | + |
| 78 | +```text |
| 79 | +2025/01/14 06:29:09 [error] 216#216: *345664926 no live upstreams while connecting to upstream, client: 10.128.0.34, server: cafe.example.com, request: "GET /coffee HTTP/1.1", upstream: "http://longevity_coffee_80/coffee", host: "cafe.example.com" |
| 80 | +
|
| 81 | +10.128.0.34 - - [14/Jan/2025:06:29:09 +0000] "GET /coffee HTTP/1.1" 502 150 "-" "-" |
| 82 | +2025/01/14 06:29:09 [error] 216#216: *345664926 no live upstreams while connecting to upstream, client: 10.128.0.34, server: cafe.example.com, request: "GET /coffee HTTP/1.1", upstream: "http://longevity_coffee_80/coffee", host: "cafe.example.com" |
| 83 | +
|
| 84 | +``` |
| 85 | + |
| 86 | +### Key Metrics |
| 87 | + |
| 88 | +#### Containers memory |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +#### NGF Container Memory |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | +### Containers CPU |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | +### NGINX Plus metrics |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | +### Reloads |
| 105 | + |
| 106 | +Rate of reloads - successful and errors: |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | +Note: compared to OSS NGINX, we don't have as many reloads here, because NGF uses NGINX Plus API to reconfigure NGINX |
| 111 | +for endpoints changes. |
| 112 | + |
| 113 | +Reload time distribution - counts: |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | +## Comparison with previous results |
| 118 | + |
| 119 | +Graphs look similar to 1.4.0 results. CPU usage increased slightly. There was a noticeable error sometime two days in |
| 120 | +where memory usage dipped heavily and so did the NGINX plus status, which could a test error instead of product error. |
| 121 | +There looked to be a reload event where past results didn't have one. NGINX errors differ from previous results errors but |
| 122 | +are consistent with errors seen in the 1.6.0 test suite. NGF error is something to keep an eye on. The NGINX errors did not coincide |
| 123 | +with the abnormalities on any of the graphs. |
0 commit comments