Hi,

This is Task university. We have scheduling algorithms for request
priorization (QoS).
But, these algorithms were simulated.

Now, my idea is to implement these algorithms.
Analyze the behavior in production.

Thank you
Ricardo


Houser, Rick wrote:
> 
> You realize that you could trivially handle most related issues without
> changing Apache at all just by prioritizing your backend work, right?
> For example, put your higher priority work in a faster server process
> than the low priority work.
> 
> If your applications are written according to best practices, you won't
> have more than a second or two delay while processing any foreground
> work.  It might make more sense to focus on the application than
> building a custom dispatcher in front of them.  If your problem was
> Apache itself, you really wouldn't be asking these types of questions.
> 
> 
> 
> Thanks,
> 
> Rick Houser
> Auto-Owners Insurance
> Systems Support
> (517)703-2580
> 
> -----Original Message-----
> From: ricardo13 [mailto:ricardoogra...@gmail.com] 
> Sent: Wednesday, July 15, 2009 10:23 AM
> To: modules-dev@httpd.apache.org
> Subject: Re: How do I manipulate request_rec Object in worker.c
> 
> 
> 
> Ray Morris wrote:
>> 
>>> I modified request_rec simply adding a field in request_rec.  Now, I 
>>> would like get this field in worker.c
>> 
>>    You also wouldn't modify request_rec, adding a new data member, to 
>> add information about a request anyway.  If you wanted to add 
>> information about a request, you would add it to the notes table if 
>> there were no appropriate existing member.
>> request rec is used by every other module, so you have no right to go 
>> changing it's definition.
>> 
>>    If you're wanting to prioritize by IP address, Google "QOS" and 
>> your OS, such as "QOS Linux".
>> If you're wanting to prioritize based on something else, start with 
>> r->connection.
>> 
>> r->connection ?? How ??
>> 
>> Thank you
>> Ricardo
>> 
>> --
>> Ray Morris
>> supp...@bettercgi.com
>> 
>> Strongbox - The next generation in site security:
>> http://www.bettercgi.com/strongbox/
>> 
>> Throttlebox - Intelligent Bandwidth Control 
>> http://www.bettercgi.com/throttlebox/
>> 
>> Strongbox / Throttlebox affiliate program:
>> http://www.bettercgi.com/affiliates/user/register.php
>> 
>> 
>> On 07/15/2009 06:39:11 AM, ricardo13 wrote:
>>> 
>>> hi all,
>>> 
>>> I modified request_rec simply adding a field in request_rec.
>>> Now, I would like get this field in worker.c
>>> 
>>> My doubt about this is because worker.c manipulates only sockets and 
>>> doesn't request_rec object.
>>> How do I do this ??
>>> 
>>> Thank you
>>> Ricardo
>>> 
>>> --
>>> View this message in context: http://www.nabble.com/How-do-I- 
>>> manipulate-request_rec-Object-in-worker.c-tp24496166p24496166.html
>>> Sent from the Apache HTTP Server - Module Writers mailing list 
>>> archive at Nabble.com.
>>> 
>>> 
>> 
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/How-do-I-manipulate-request_rec-Object-in-worker.c
> -tp24496166p24498988.html
> Sent from the Apache HTTP Server - Module Writers mailing list archive
> at Nabble.com.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-manipulate-request_rec-Object-in-worker.c-tp24496166p24502445.html
Sent from the Apache HTTP Server - Module Writers mailing list archive at 
Nabble.com.

Reply via email to