httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevac Marko" <mke...@gmail.com>
Subject Re: Howto implement a new algorithm scheduler in mod_proxy_balancer
Date Wed, 22 Oct 2008 20:08:53 GMT
What's monitor hook?

On Wed, Oct 22, 2008 at 11:58 PM, Jim Jagielski <jim@jagunet.com> wrote:
> Sounds like 2 questions there: (1) is there anyway to create
> some sort of scheduler that does periodic functions and (2) how
> to obtain external server info (like CPU, etc...).
>
> Re #1: Under 2.2, there is a monitor hook, but it is pretty
> limited. Best thing is to create an external process which
> runs separately and adjusts shared memory data.
>
> Re #2: It ain't trivial.
>
> On Oct 22, 2008, at 2:38 PM, ricardo13 wrote:
>
>>
>> hi,
>>
>> I saw the link.
>> So one more question.
>>
>> Can I development a scheduler that receive datas from cluster.
>> For example:
>>
>>  If machine1 == overloaded CPU
>>     sent requisition to machine2
>>
>> How to do scheduler (via programming) obtain information of CPU from
>> others
>> machines ??
>>
>> Thank You
>>
>> Ricardo
>>
>>
>> Rainer Jung-3 wrote:
>>>
>>> ricardo13 schrieb:
>>>>
>>>> I don't find that examples. I find in the folder
>>>> httpd.2.2.9/modules/proxy/
>>>> .....there isn't folder example
>>>> Where can I find ??? Is there any link ???
>>>
>>> It's not yet in the stable branch 2.2, but you can find it in the trunk:
>>>
>>> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/examples/
>>>
>>> to watch it with a browser, or
>>>
>>> http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/proxy/examples/
>>>
>>> as a URL to check it out via svn.
>>>
>>> Regards,
>>>
>>> Rainer
>>>
>>>> Jim Jagielski wrote:
>>>>>
>>>>> Not sure what the question is... is it how to test your algo or
>>>>> how to implement it?
>>>>>
>>>>> There is a quick-and-dirty example submodule in trunk (under modules/
>>>>> proxy/examples)
>>>>> that give some basic overview.
>>>>>
>>>>> On Oct 20, 2008, at 10:07 PM, ricardo13 wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I wanted implement a new algorithm scheduler to mod_proxy_balancer.
>>>>>> I built a new algorithm and want test in apache2.
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>> Ricardo
>>>>>> --
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Howto-implement-a-new-algorithm-scheduler-in-mod_proxy_balancer-tp20082207p20117149.html
>> Sent from the Apache HTTP Server - Module Writers mailing list archive at
>> Nabble.com.
>>
>
>



-- 
С уважением, Кевац Марко
Sincerely yours, Kevac Marko
Mime
View raw message