httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] intercept incoming requests in Apache Web Server
Date Thu, 27 Apr 2006 18:15:24 GMT
On 4/27/06, Tiago Semprebom <tisemprebom@yahoo.com.br> wrote:
> Hello,
>
> I'm working with QoS (quality of service) and I'm using
> the Apache web server to implement my QoS policy. For
> that, basically I'll need to intercept all incoming
> requests in Apache and after that, separate this
> requests in different queues, according with their
> priority. So, some questions:
>
> 1) - What Apache module or function is responsible
> for receiving the incoming requests?

You may want to look at some developer docs like:
http://www.apachetutor.org/dev/request

>
> 2) - Doesn't already exist some structure to
> handle this requests or something like that?

I'm not an expert in this topic, but what you want doesn't sound
feasible.  In the Apache httpd architecture, threads or processes get
to listen on the accept queue and grab new requests as they come in. 
If they read a request and decide it is low priority and they don't
want to handle it, there is really no way for them to shove it back on
the queue.  They are stuck with it and must either serve it or dump
it.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message