3 ms·
It doesn't say how this changes the load distribution algorithm. Since websocket connections are usually long-running it wouldn't be as useful to use the defaul
by amasad 10y ago
It doesn't say how this changes the load distribution algorithm. Since websocket connections are usually long-running it wouldn't be as useful to use the default RPS (requests per second) algorithm. Ideally, it would be something that takes into account the number of connection each backend instance has.
- Cidan 10y agoYou can already adjust the load distribution algorithm when creating the LB, so I imagine this doesn't really change anything.
- amasad 10y agoThe distribution algorithm options are either a) rate or b) utilization. Re rate, you can configure the Requests Per Second but this doesn't mean much in a long-running connection context because some connections can be drastically longer (hours, days?). This may lead to starvation or overloading an instance.