You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connection Capacity for default 2 routers number of router(default 2) x default maxConnections(50k) = 100k connections
Culculation for proper CLIENT
small scale(100 routes)
For http and passthrough, number of routes(100 for large scale) x clients(1000) = 100k.
For edge and re-encrypt, number of routes(100 for large scale) x clients(500)x2 = 100k
To leave some buffer, 400 is a good number for SMALL_SCALE_CLIENTS
For mix termination, number of routes(100) x 2 (http and passthrough) x clients(150) + routes(100) x 2(edge and re-encrypt) x 2(connection per termination) x clients(150) =90k connections
150 is a good number for SMALL_SCALE_CLIENTS_MIX
large scale(500 routes)
For http and passthrough, number of routes(500 for large scale) x clients(200) = 100k
For edge and re-encrypt, number of routes(500 for large scale) x clients(100)x2 = 100k
To leave some buffer, 80 is a good number for LARGE_SCALE_CLIENTS
For mix termination, number of routes(500) x 2 (http and passthrough) x clients(30) + routes(500) x 2(edge and re-encrypt) x 2(connection per termination) x clients(30) =90k connections
30 is a good number for LARGE_SCALE_CLIENTS_MIX
If I've understood correctly, the maximum connections created by each test should be :
Edge & passthrough = routes * clients * 2 (edge & passthrough)
Mix = routes * clients * 1.5 (half of the routes are edge & passthrough)
Small scale -> 100x400x2=80K
Small scale mix -> 400x150x1.5=90K <--- Leaving only 10K connections as buffer could be dangerous, I propose using 125 clients to reach 75K connections
Large scale -> 500x80x2=80K
Large scale mix -> 2000x30x1.5=90K <--- Leaving only 10K connections as buffer could be dangerous, I propose using 25 clients to reach 75K connections
Where each router supports up to 50K connections, we deploy 2 routers by default. Hence they can handle up to 100K connections.
Other than that, I'd remove some of the iterations to make this test a bit shorter as proposed already at #452
Connection Capacity for default 2 routers
number of router(default 2) x default maxConnections(50k) = 100k connections
Culculation for proper CLIENT
small scale(100 routes)
For http and passthrough, number of routes(100 for large scale) x clients(1000) = 100k.
For edge and re-encrypt, number of routes(100 for large scale) x clients(500)x2 = 100k
To leave some buffer, 400 is a good number for SMALL_SCALE_CLIENTS
For mix termination, number of routes(100) x 2 (http and passthrough) x clients(150) + routes(100) x 2(edge and re-encrypt) x 2(connection per termination) x clients(150) =90k connections
150 is a good number for SMALL_SCALE_CLIENTS_MIX
large scale(500 routes)
For http and passthrough, number of routes(500 for large scale) x clients(200) = 100k
For edge and re-encrypt, number of routes(500 for large scale) x clients(100)x2 = 100k
To leave some buffer, 80 is a good number for LARGE_SCALE_CLIENTS
For mix termination, number of routes(500) x 2 (http and passthrough) x clients(30) + routes(500) x 2(edge and re-encrypt) x 2(connection per termination) x clients(30) =90k connections
30 is a good number for LARGE_SCALE_CLIENTS_MIX
Proposal:
@rsevilla87 Please let me know your comments. I will open a PR when we get an agreement.
The text was updated successfully, but these errors were encountered: