Re: Question regarding url_param hashing

2010-04-20 Thread Dirk Taggesell
Many thanks, Willy for answering my questions. But in my opinion, when you start playing with 10 to 100 times more URLs than you have servers, I really don't see how you could be lucky enough to always reach the same servers. We will test the consistent hashing again once we have production

Re: Question regarding url_param hashing

2010-04-12 Thread Dirk Taggesell
On Mon, Apr 12, 2010 at 12:07 AM, David Birdsong david.birds...@gmail.com wrote: It's expected that consistent hashing won't provide an even distribution to your backends.   You'll need to adjust the weights of each server to even out the traffic if you want a smooth distribution of requests

Re: Question regarding url_param hashing

2010-04-12 Thread Dirk Taggesell
Hank A. Paulson wrote: How varied is your site param? are there many variations or just a few similar strings? There's a large amount of distinctive urls, maybe some are requested several times, but still al large amount of different site urls. There is also another GET parameter, which is

Backend sends 204, haproxy sends 502

2009-10-28 Thread Dirk Taggesell
Hi all, I want to load balance a new server application that generally sends http code 204 - to save bandwidth and to avoid client-side caching. In fact it only exchanges cookie data, thus no real content is delivered anyway. When requests are made via haproxy, the backend - as intended -

Re: Backend sends 204, haproxy sends 502

2009-10-28 Thread Dirk Taggesell
On Wed, Oct 28, 2009 at 2:05 PM, John Lauro john.la...@covenanteyes.comwrote: You could run mode tcp if you setup haproxy in transparent mode . The docs say: Note that contrary to a common belief, this option does NOT make HAProxy present the client's IP to the server when establishing the

Re: Backend sends 204, haproxy sends 502

2009-10-28 Thread Dirk Taggesell
On Wed, Oct 28, 2009 at 3:30 PM, Jeffrey 'jf' Lim jfs.wo...@gmail.comwrote: it looks like Karsten's suspicion is correct. Try adding the 'Content-length: 0' header. haproxy is still expecting more data from the backend. (It apparently does not know about status 204???). thanks, Jeffrey and

Re: Backend sends 204, haproxy sends 502

2009-10-28 Thread Dirk Taggesell
BTW: sorry for the somewhat wierd looking thread. I forgot to manually include haproxy@formilux.org as recipient and manually re-sent it afterwards to the list - for the sake of completeness. And I am forced to use this abomination of a mail reader called google mail, because my mail relay at