HAProxy way to explore https:https://cdn.v2ex.com/navatar/1728/efbd/564_normal.png?m=1560808887 https:https://cdn.v2ex.com/navatar/1728/efbd/564_large.png?m=1560808887 2019-06-18T02:35:16Z Copyright © 2010-2018, V2EX HAProxy 2.0 发布 tag:www.v2ex.com,2019-06-17:/t/574929 2019-06-17T21:37:48Z 2019-06-18T02:35:16Z Livid member/Livid https://www.haproxy.com/blog/haproxy-2-0-and-beyond/
]]> haproxy 小白请教一个问题,关于限制最大并发 maxconn 和 Linux 系统 limit -n 限制 tag:www.v2ex.com,2018-01-29:/t/426671 2018-01-29T01:13:48Z 2018-01-29T07:59:51Z Mrzhang0320 member/Mrzhang0320 HAProxy 1.8.0 tag:www.v2ex.com,2017-11-27:/t/409915 2017-11-27T06:31:48Z 2017-11-27T06:31:48Z Livid member/Livid https://www.mail-archive.com/haproxy@formilux.org/msg28004.html ]]> haproxy 无法连接数据库 tag:www.v2ex.com,2017-03-19:/t/348572 2017-03-19T02:44:06Z 2017-03-19T13:53:03Z keramist member/keramist debian centos67 测试了 1.7.3 1.7.2 。而网站 80 端口 负载均衡没问题 现在测试 centos7 yum install 自带 1.5.18 ]]> 经过 HAProxy 后发现引入了很大的延迟? tag:www.v2ex.com,2016-08-06:/t/297630 2016-08-06T15:16:56Z 2016-08-06T16:13:56Z billlee member/billlee 前情提要:发现以前的配置无法保持长连接

于是修改配置,在 defaults 中加入了

 timeout tunnel 300s timeout client-fin 5s 

现在连接相关的参数是:

defaults mode tcp log global option tcplog option dontlognull option redispatch retries 3 timeout queue 1m timeout connect 5s timeout client 5s timeout server 5s timeout tunnel 300s timeout client-fin 5s timeout check 5s maxconn 3000 

修改后,发现连接延迟变差了,均值和方差都增大了,有时候延迟能超过 1 s.

当然改之前也是平均延迟要大于 100 ms, 但是客户端到 haproxy 的延迟和 haproxy 到服务端的延迟加起来只有不到 40ms 的。

通过 stats 我确认连接数远没有打满,也看不出其它问题。那是不是我的配置有什么问题呢?

]]>
HAProxy 可以基于请求的 SNI 域名配置 server 吗? tag:www.v2ex.com,2016-02-11:/t/256075 2016-02-11T04:45:34Z 2016-02-11T11:11:01Z edsgerlin member/edsgerlin 比如说我想用 req.ssl_sni 里的域名做目的地似乎是不行的。像这样

server sni_server req.ssl_sni:443

没怎么写过 HAProxy 配置不太懂。主要是想配置一个 Catch All 的 SNI 反代,这样配置个 DNSMasq 就可以 unblock 很多支持 HTTPS 的站点了…… Google 过了没有什么资料可以用的……
烦请诸位 V 友赐教~

]]>
为什么 HAProxy ( http://www.haproxy.org/ )被 Wall 了?不解…… tag:www.v2ex.com,2015-12-04:/t/241047 2015-12-04T01:36:54Z 2015-12-04T04:10:39Z zxgngl member/zxgngl Load Balancing WordPress with HAProxy tag:www.v2ex.com,2015-02-07:/t/169181 2015-02-07T18:19:08Z 2015-02-07T18:19:08Z Kai member/Kai https://www.digitalocean.com/community/tutorial_series/load-balancing-wordpress-with-haproxy ]]> 这个该怎么读呢? HAProxy tag:www.v2ex.com,2015-02-01:/t/167403 2015-02-01T14:25:56Z 2015-03-24T13:38:19Z Kai member/Kai 关于动态网站的 LB(负载均衡)服务器 tag:www.v2ex.com,2015-01-23:/t/164859 2015-01-23T09:13:04Z 2015-01-23T16:24:16Z Livid member/Livid
最近试了一下 HAProxy,发现其对后端的健康检查功能非常强大。而且有一个很实用的 stats 页面。

http://cbonte.github.com/haproxy-dconv/configuration-1.5.html

这里熟悉 HAProxy 的同学们,可以分享一下你在用 HAProxy 的过程中有遇到过什么坑么?

谢谢大家。 ]]>
HAProxy 1.5 PPA for Ubuntu tag:www.v2ex.com,2015-01-23:/t/164703 2015-01-23T02:04:15Z 2015-01-23T02:04:15Z Livid member/Livid https://launchpad.net/~vbernat/+archive/ubuntu/haproxy-1.5

Ubuntu 系统自带的版本还是 1.4 甚至更旧。 ]]>
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86