tag:blogger.com,1999:blog-9238405.post8478084669405336296..comments2024-03-18T02:04:50.380-07:00Comments on Agile Testing: HAProxy, X-Forwarded-For, GeoIP, KeepAliveGrig Gheorghiuhttp://www.blogger.com/profile/17863511617654196370noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-9238405.post-36711837475195490142010-06-03T11:36:37.904-07:002010-06-03T11:36:37.904-07:00Go for haproxy 1.4 or later. Then use:
option for...Go for haproxy 1.4 or later. Then use:<br /><b><br />option forwardfor<br />option http-server-close<br /></b><br />instead of<br /><br />option forwardfor<br />option httpclose<br /><br />to support Keep-Alive on the client-side. This will give you the low-latency advantage on slower networks (your clients...), while each request yields one connection on the server (backend) side including the X-Forwarded-For header for every req! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-87577703314520240862009-07-29T02:31:13.783-07:002009-07-29T02:31:13.783-07:00Very useful article. Thanks.
I'm not prepared...Very useful article. Thanks.<br /><br />I'm not prepared to use option httpclose which will disable keep-alive connections -- thus making my site less responsive... as each http connection will have to be explicitly reestablished by client browsers. Ugh!!<br /><br />So I'm not using forwardfor because that requires option httpclose (see haproxy documentation).<br /><br />Is there a way I can do anything? Like do statistics from the haproxy logs?<br /><br />Any help? I'm using google analytics for my site so I'm not suffering that much. <br /><br />BTW awstats is still useful without the forwardfor working but it would have been nice to get it fully working.<br /><br />Any idea how to do that?<br /><br />Thanks,<br /><br />SidharthSidharth Khttps://www.blogger.com/profile/17218281913991058502noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-72210447441279632082009-07-15T16:11:35.184-07:002009-07-15T16:11:35.184-07:00Thank you, it's useful.Thank you, it's useful.Anonymousnoreply@blogger.com