My generall question is as follows (and I will describe my situation in more detail later)"
I am trying to figure out if it is possible to configure Apache2 in a way that will allow for me to programatically control the order of which children recieve requests. For example:
I have 10 idle children
I have 10 separate requests come in, separated each by one second (for arguments sake)
I want to *ensure* the order of the requests is handled by child 1, then 2, 3, ... 10 in that specific order.
From my current understanding, this isn't really possible. Being that each of the children sit on sockets in a queue, it will most likely be up to the OS' Kernel (in a Linux/prefork environment) to determine who gets what when. However, I wanted to see if any of you wise'ns might be able to tell me differently.
Essentailly, I don't like children getting over used. I am observing that a child will be granted the request, generally speaking, if it is idle. Therefore, given quick response times, the first child in a FIFO queue would get way more traffic than the (in my example) 10th child. I was hoping I could get around that.
Any thoughts?
Thanks in advance for any comments/posts!!2006-03-24 Retitled by planetscape, as per Monastery guidelines
Original title: 'Configuring Apache child distribution'