Re: updating workers' lbfactor

2008-03-27 Thread Ruediger Pluem
On 03/27/2008 06:20 PM, Vinicius Petrucci wrote: -- sorry in the case of duplicate messages -- Hi, I notice that in mod_proxy_balancer the workers' lbfactors is dynamically updated without any critical section lock between the call. That is, simply: wsel->s->lbfactor = ival; IMHO this

updating workers' lbfactor

2008-03-27 Thread Vinicius Petrucci
-- sorry in the case of duplicate messages -- Hi, I notice that in mod_proxy_balancer the workers' lbfactors is dynamically updated without any critical section lock between the call. That is, simply: wsel->s->lbfactor = ival; Quick question: If I am planning to change the lbfactors in my

Re: Dynamic configuration for the hackathon?

2008-03-27 Thread Akins, Brian
On 3/27/08 9:00 AM, "Nick Kew" <[EMAIL PROTECTED]> wrote: > /Lua> > > Fine for users who want to hack their own server. Like . Every play with lighttpd? It's almost the same way... Of course typical lighthttpd user is a "hacker." > But r.filename is the kind of innards we really don't want >

Re: Proposal: a "cron" interface for httpd

2008-03-27 Thread Rainer Jung
Nick Kew wrote: On Wed, 26 Mar 2008 17:15:02 +0100 Rainer Jung <[EMAIL PROTECTED]> wrote: ap_hook_monitor? As I understand the monitor hook, httpd itself also uses it. Thus letting modules do maintenance stuff in the same hook could easily break the timing of the httpd internal tasks. There

Re: Proposal: a "cron" interface for httpd

2008-03-27 Thread Nick Kew
On Wed, 26 Mar 2008 17:15:02 +0100 Rainer Jung <[EMAIL PROTECTED]> wrote: > > ap_hook_monitor? > > As I understand the monitor hook, httpd itself also uses it. Thus > letting modules do maintenance stuff in the same hook could easily > break the timing of the httpd internal tasks. There's nothi

Re: Proposal: a "cron" interface for httpd

2008-03-27 Thread Nick Kew
On Wed, 26 Mar 2008 18:22:51 +0200 Graham Leggett <[EMAIL PROTECTED]> wrote: > Nick Kew wrote: > > > ap_hook_monitor? > > A quick look found the hook, but no comments or other docs on how it > works. The only code in the tree using the hook is mod_example_hooks, > but it doesn't reveal any inf

Re: Dynamic configuration for the hackathon?

2008-03-27 Thread Nick Kew
On Thu, 27 Mar 2008 08:17:01 -0400 "Akins, Brian" <[EMAIL PROTECTED]> wrote: > On 3/27/08 3:58 AM, "Torsten Foertsch" <[EMAIL PROTECTED]> > wrote: > > > So I was going to reimplement it based on mod_wombat some > > time this year. > > > The nice thing about lua, in addition to being lightweigh

Re: Dynamic configuration for the hackathon?

2008-03-27 Thread Akins, Brian
On 3/27/08 3:58 AM, "Torsten Foertsch" <[EMAIL PROTECTED]> wrote: > So I was going to reimplement it based on mod_wombat some > time this year. The nice thing about lua, in addition to being lightweight, is that most of the url mapping/rewriting can be simple lua statements. if string.match(r

Re: Dynamic configuration for the hackathon?

2008-03-27 Thread Jorge Schrauwen
I used to use mod_macro, then I moved to mod_perl but like you said. mod_perl is great (well, more okay than great) for dynamic configurations that change/get generated on start and not per request. A new more flexible alternative would be awsome. Jorge (on vacation) On Thu, Mar 27, 2008 at 8:58

Re: Dynamic configuration for the hackathon?

2008-03-27 Thread Torsten Foertsch
On Wed 26 Mar 2008, Akins, Brian wrote: > > There seems to be a demand for dynamic per-request configuration, > > as evidenced by the number of users hacking it with mod_rewrite, > > and the other very limited tools available.  Modern mod_rewrite > > usage commonly looks like programming, but it's