apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.09k stars 1.11k forks source link

TCP load balancer ability to set custom connect/client/server timeout #3789

Open joschi36 opened 4 years ago

joschi36 commented 4 years ago
ISSUE TYPE
COMPONENT NAME
* API
* VR
CLOUDSTACK VERSION
4.11.3
CONFIGURATION
SUMMARY

Our Problem is that the default TCP timeouts aren't working for some of our usecases.

First Idea

The idea is to add three custom timeout parameter to the createLoadBalancer method.

Second Idea

The second idea is to take a custom parameter to extend the listen section in haproxy. This custom parameter would be an array of configuration strings which get validated with haproxy configtest.

Here the parameter matrix for haproxy 1.7 https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4.1

DaanHoogland commented 3 years ago

@joschi36 Are you still considering this? please add configuration examples of what you want to achieve on the backend(s) with your new parameters, and a matrix of parameter <-> results. I think it might be a good idea but it is a bit vague as you describe it so far.

weizhouapache commented 3 years ago

@DaanHoogland this should be fixed by #4141

DaanHoogland commented 3 years ago

ah right, can you check the PR, @joschi36 ? if this satisfies your request we'll close this when merged.

joschi36 commented 3 years ago

Yes this satisfies the request. Can't wait to see this merged 😃

rohityadavcloud commented 3 years ago

Moving this to 4.17 as PR is moved to 4.17 milestone