Re: Small patch for the "appsession" feature

2009-11-15 Thread Willy Tarreau
Hi, On Sun, Nov 15, 2009 at 10:28:21PM +0100, Aleksandar Lazic wrote: > Hi Cyril, > > On Fre 13.11.2009 22:50, Cyril Bonté wrote: > >Hello Willy, > >sorry, I didn't have time to work on the patch as I wanted. > > > >Le jeudi 5 novembre 2009 06:19:41, Willy Tarreau a écrit : > >>> Sorry but I can'

Re: Preventing bots from starving other users?

2009-11-15 Thread Łukasz Jagiełło
2009/11/15 Wout Mertens : > I was wondering if HAProxy helps in the following situation: > > - We have a wiki site which is quite slow > - Regular users don't have many problems > - We also get crawled by a search bot, which creates many concurrent > connections, more than the hardware can handle

Re: Small patch for the "appsession" feature

2009-11-15 Thread Aleksandar Lazic
Hi Cyril, On Fre 13.11.2009 22:50, Cyril Bonté wrote: Hello Willy, sorry, I didn't have time to work on the patch as I wanted. Le jeudi 5 novembre 2009 06:19:41, Willy Tarreau a écrit : > Sorry but I can't see in the haproxy sources how the cookie prefix can be used for appsession. > "capture

Re: Preventing bots from starving other users?

2009-11-15 Thread Aleksandar Lazic
On Son 15.11.2009 15:57, Wout Mertens wrote: Hi there, I was wondering if HAProxy helps in the following situation: - We have a wiki site which is quite slow - Regular users don't have many problems - We also get crawled by a search bot, which creates many concurrent connections, more than the

RE: Preventing bots from starving other users?

2009-11-15 Thread John Lauro
I would probably do that sort of throttling at the OS level with iptables, etc... That said, before that I would investigate why the wiki is so slow... Something probably isn't configured right if it chokes with only a few simultaneous accesses. I mean, unless it's embedded server with under 32MB

Preventing bots from starving other users?

2009-11-15 Thread Wout Mertens
Hi there, I was wondering if HAProxy helps in the following situation: - We have a wiki site which is quite slow - Regular users don't have many problems - We also get crawled by a search bot, which creates many concurrent connections, more than the hardware can handle - Therefore, service is de