Mobile
apache.txt
Associated article: A Request Scheduling Layer for Apache
Tags: Mobile
Published source code accompanying the article by Ramkumar Ramaswamy in which he examines the issue of request prioritization which lets you efficiently utilize server resources without overkill. Ramkumar describes the modifications he made to the Apache server so that it could accomodate request scheduling.
A Request Scheduling Layer for Apache
by Ramkumar Ramaswamy
Example 1:
recv(csd, peekbuf, PEEKLEN, MSG_PEEK);
peekbuf[PEEKLEN - 1] = '0';
py_PrioritizeAndStoreRequest(csd, peekbuf);
Listing One
static void child_main(int child_num_arg)
{ ...
if (child_num_arg != 0)
{
new_...


