httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: Let's get rid of .htaccess files :-)
Date Thu, 18 Jul 1996 22:31:31 GMT
  *shudder*  Imagine a site with a couple thousand people with their own
  web pages.  Now imagine having 5 of those people actively changing their
  configuration items for their directories...  Now imagine the server
  HUPing every time.

On the other hand, if the server were only rereading the *particular*
config files changed, without the overhead of a full restart, this all
becomes a whole lot less problematic.  

Implementation techniques:

This requires doing something like putting config data for each
location in its own memory pool, as I mentioned earlier... also, as I
mentioned earlier, it might make sense for these pools to be "miserly"
with the size chunks they allocate, at the expense of more frequent
chunk-allocs leading to a somewhat higher general palloc() cost when
that's amortized per-allocation.

It also requires a (preferably signal-free) way of signaling the need
for an update (and the name of the file to be reread) on to the server
child processes --- perhaps by using the innd trick of keeping a
control channel open on a separate port.

rst

Mime
View raw message