|
| 1 | +# Reconfiguration testing Results |
| 2 | + |
| 3 | +<!-- TOC --> |
| 4 | +- [Reconfiguration testing Results](#reconfiguration-testing-results) |
| 5 | + - [Summary](#summary) |
| 6 | + - [Test environment](#test-environment) |
| 7 | + - [Results Tables](#results-tables) |
| 8 | + - [NGINX Reloads and Time to Ready](#nginx-reloads-and-time-to-ready) |
| 9 | + - [Event Batch Processing](#event-batch-processing) |
| 10 | + - [NumResources to Total Resources](#numresources-to-total-resources) |
| 11 | + - [Observations](#observations) |
| 12 | + - [Future Improvements](#future-improvements) |
| 13 | +<!-- TOC --> |
| 14 | + |
| 15 | +## Summary |
| 16 | + |
| 17 | +- Due to fix https://github.com/nginxinc/nginx-gateway-fabric/issues/1107, time to ready, reload time, and event batch processing |
| 18 | + time increased for all 150 resource tests. |
| 19 | +- For all 30 resource tests, results were mostly consistent to prior results. |
| 20 | + |
| 21 | +## Test environment |
| 22 | + |
| 23 | +GKE cluster: |
| 24 | + |
| 25 | +- Node count: 3 |
| 26 | +- Instance Type: e2-medium |
| 27 | +- k8s version: 1.28.9-gke.1000000 |
| 28 | +- Zone: us-central1-c |
| 29 | +- Total vCPUs: 6 |
| 30 | +- Total RAM: 12GB |
| 31 | +- Max pods per node: 110 |
| 32 | + |
| 33 | +NGF deployment: |
| 34 | + |
| 35 | +- NGF version: edge - git commit 7c9bf23ed89861c9ce7b725f2c1686f4c24ef2f9 |
| 36 | +- NGINX OSS Version: 1.27.0 |
| 37 | +- NGINX Plus Version: R32 |
| 38 | + |
| 39 | +## Results Tables |
| 40 | + |
| 41 | +### NGINX Reloads and Time to Ready |
| 42 | + |
| 43 | +#### OSS |
| 44 | + |
| 45 | +| Test number | NumResources | TimeToReadyTotal (s) | TimeToReadyAvgSingle (s) | NGINX reloads | NGINX reload avg time (ms) | <= 500ms | <= 1000ms | |
| 46 | +|-------------|--------------|----------------------|--------------------------|---------------|----------------------------|----------|-----------| |
| 47 | +| 1 | 30 | 2 | <1 | 2 | 190 | 100% | 100% | |
| 48 | +| 1 | 150 | 2 | <1 | 2 | 542 | 50% | 100% | |
| 49 | +| 2 | 30 | 37 | <1 | 94 | 169 | 100% | 100% | |
| 50 | +| 2 | 150 | 204 | <1 | 387 | 326 | 88% | 100% | |
| 51 | +| 3 | 30 | <1 | <1 | 94 | 129 | 100% | 100% | |
| 52 | +| 3 | 150 | <1 | <1 | 454 | 130 | 100% | 100% | |
| 53 | + |
| 54 | +#### Plus |
| 55 | + |
| 56 | +| Test number | NumResources | TimeToReadyTotal (s) | TimeToReadyAvgSingle (s) | NGINX reloads | NGINX reload avg time (ms) | <= 500ms | <= 1000ms | |
| 57 | +|-------------|--------------|----------------------|--------------------------|---------------|----------------------------|----------|-----------| |
| 58 | +| 1 | 30 | 1 | <1 | 2 | 220.5 | 100% | 100% | |
| 59 | +| 1 | 150 | 1.5 | <1 | 2 | 528.5 | 50% | 100% | |
| 60 | +| 2 | 30 | 41 | <1 | 94 | 176.8 | 100% | 100% | |
| 61 | +| 2 | 150 | 199 | <1 | 391 | 320.56 | 94.1% | 100% | |
| 62 | +| 3 | 30 | <1 | <1 | 94 | 128.5 | 100% | 100% | |
| 63 | +| 3 | 150 | <1 | <1 | 454 | 129.2 | 100% | 100% | |
| 64 | + |
| 65 | +### Event Batch Processing |
| 66 | + |
| 67 | +#### OSS |
| 68 | + |
| 69 | +| Test number | NumResources | Event Batch Total | Event Batch Processing avg time (ms) | <= 500ms | <= 1000ms | <= 5000ms | <= 10000ms | <= 30000ms | |
| 70 | +|-------------|--------------|-------------------|--------------------------------------|----------|-----------|-----------|------------|------------| |
| 71 | +| 1 | 30 | 5 | 726.6 | 80% | 80% | 100% | 100% | 100% | |
| 72 | +| 1 | 150 | 5 | 4457 | 40% | 80% | 80% | 80% | 100% | |
| 73 | +| 2 | 30 | 371 | 59.5 | 99.7% | 100% | 100% | 100% | 100% | |
| 74 | +| 2 | 150 | 1742 | 93.5 | 92.9% | 99.99% | 100% | 100% | 100% | |
| 75 | +| 3 | 30 | 370 | 43.9 | 99.85% | 99.85% | 100% | 100% | 100% | |
| 76 | +| 3 | 150 | 1810 | 44.8 | 99.99% | 99.99% | 99.99% | 100% | 100% | |
| 77 | + |
| 78 | +#### Plus |
| 79 | + |
| 80 | +| Test number | NumResources | Event Batch Total | Event Batch Processing avg time (ms) | <= 500ms | <= 1000ms | <= 5000ms | <= 10000ms | <= 30000ms | |
| 81 | +|-------------|--------------|-------------------|--------------------------------------|----------|-----------|-----------|------------|--------------| |
| 82 | +| 1 | 30 | 6 | 84 | 100% | 100% | 100% | 100% | 100% | |
| 83 | +| 1 | 150 | 5 | 4544.3 | 40% | 80% | 80% | 80% | 100% | |
| 84 | +| 2 | 30 | 370 | 59.1 | 100% | 100% | 100% | 100% | 100% | |
| 85 | +| 2 | 150 | 1747 | 93.2 | 94.1% | 99.99% | 100% | 100% | 100% | |
| 86 | +| 3 | 30 | 370 | 41.33 | 99.99% | 99.99% | 100% | 100% | 100% | |
| 87 | +| 3 | 150 | 1809 | 44.88 | 99.99% | 99.99% | 99.99% | 99.99% | 100% | |
| 88 | + |
| 89 | +## NumResources to Total Resources |
| 90 | + |
| 91 | +| NumResources | Gateways | Secrets | ReferenceGrants | Namespaces | application Pods | application Services | HTTPRoutes | Total Resources | |
| 92 | +|--------------|----------|---------|-----------------|------------|------------------|----------------------|------------|-----------------| |
| 93 | +| x | 1 | 1 | 1 | x+1 | 2x | 2x | 3x | <total> | |
| 94 | +| 30 | 1 | 1 | 1 | 31 | 60 | 60 | 90 | 244 | |
| 95 | +| 150 | 1 | 1 | 1 | 151 | 300 | 300 | 450 | 1204 | |
| 96 | + |
| 97 | +## Observations |
| 98 | + |
| 99 | +1. Reload time and time to ready have increased in 150 resource tests. This is probably due, in part, to the fix of https://github.com/nginxinc/nginx-gateway-fabric/issues/1107 causing the prior |
| 100 | + test to only attach 2x of the HTTPRoutes while this test attaches all of them. In the 30 resource tests, results were mostly consistent to prior results. |
| 101 | + |
| 102 | +2. Event batch processing time increased notably in the 150 resource tests, probably for the same reason mentioned in observation #1. |
| 103 | + In the 30 resource tests, results were mostly consistent to prior results. |
| 104 | + |
| 105 | +3. No errors in the logs. |
| 106 | + |
| 107 | + |
| 108 | +## Future Improvements |
| 109 | + |
| 110 | +None. |
0 commit comments