Hi,Vivek:
Thank you for your quick reply. I did a test in this way. I found the maximum 
connection time into 3S. Our client is particularly concerned about the http 
response time. Do you have another way to add/remove the servers?
Regards,
Hu

-----邮件原件-----
发件人: Vivek Malik [mailto:[email protected]] 
发送时间: 2015年1月20日 15:27
收件人: hu.zhang
抄送: [email protected]; [email protected]
主题: Re: Problems about Hot Configuration of Haproxy

Please see http://www.mail-archive.com/[email protected]/msg06885.html

The summary being

iptables -I INPUT -p tcp --dport $PORT --syn -j DROP
sleep 1
service haproxy restart
iptables -D INPUT -p tcp --dport $PORT --syn -j DROP

Regards,
Vivek

On Tue, Jan 20, 2015 at 1:11 AM, hu.zhang <[email protected]> wrote:
> Hi,Willy:
>
>          I am a beginner of Haproxy. Recently I get a problem that hot
> configuration of haproxy still lead to failed request. I have read the
> answer from
> http://stackoverflow.com/questions/21595534/hot-reconfiguration-of-haproxy-still-lead-to-failed-request-any-suggestions.
> But the failed requests still exist when I use ApacheBench. Could you please
> give me some suggestion about the following two question?
>
> 1.       Can I add or remove servers in backends without restarting a
> process? If I don’t start a haproxy process with –sf keyword, is there a way
> to add/remove the servers in real time?
>
> 2.       If the answer of the the first question is no , Can you give me
> some tips about how to modify the source to achieve it?
>
> Thanks!
>
>          With my best wishes,
>
>          Hu.Zhang


Reply via email to