Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


jfclere at gmail

Jun 23, 2009, 5:35 AM

Post #1 of 4 (335 views)
Permalink
Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor

Hi,

I plan to use slotmem (additionally to the actual file based logic) in
the heartbeat logic.
HeartbeatStorage mem:logs/hb.dat (slotmem and key/save uses logs/hb.dat).
HeartbeatStorage logs/hb.dat (existing logic).

Of course the hearthbeat handler will use slotmem and issue en error at
the start if that is not the storage configured. (actualy the the
hearthbeat handler doesn't work).

The slotmem element will use the proxy_worker_stat and heartbeat actual
format...(Well a string big enough).

Comments?

Cheers

Jean-Frederic


paul at querna

Jun 23, 2009, 1:11 PM

Post #2 of 4 (300 views)
Permalink
Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor [In reply to]

On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clere<jfclere[at]gmail.com> wrote:
> Hi,
>
> I plan to use slotmem (additionally to the actual file based logic) in the
> heartbeat logic.
> HeartbeatStorage mem:logs/hb.dat (slotmem and key/save uses logs/hb.dat).
> HeartbeatStorage logs/hb.dat (existing logic).
>
> Of course the hearthbeat handler will use slotmem and issue en error at the
> start if that is not the storage configured. (actualy the the hearthbeat
> handler doesn't work).
>
> The slotmem element will use the proxy_worker_stat and heartbeat actual
> format...(Well a string big enough).
>
> Comments?

why do we need to store the same information twice?


jfclere at gmail

Jun 24, 2009, 5:54 AM

Post #3 of 4 (294 views)
Permalink
Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor [In reply to]

Paul Querna wrote:
> On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clere<jfclere[at]gmail.com> wrote:
>> Hi,
>>
>> I plan to use slotmem (additionally to the actual file based logic) in the
>> heartbeat logic.
>> HeartbeatStorage mem:logs/hb.dat (slotmem and key/save uses logs/hb.dat).
>> HeartbeatStorage logs/hb.dat (existing logic).
>>
>> Of course the hearthbeat handler will use slotmem and issue en error at the
>> start if that is not the storage configured. (actualy the the hearthbeat
>> handler doesn't work).
>>
>> The slotmem element will use the proxy_worker_stat and heartbeat actual
>> format...(Well a string big enough).
>>
>> Comments?
>
> why do we need to store the same information twice?
>

Not twice, I will just keep the old file logic and add a new one, the
proxy_worker_stat would come from the slotmem not from the scoreboard.

Cheers

Jean-Frederic


jim at jaguNET

Jun 29, 2009, 9:47 AM

Post #4 of 4 (262 views)
Permalink
Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor [In reply to]

On Jun 24, 2009, at 8:54 AM, jean-frederic clere wrote:

> Paul Querna wrote:
>> On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clere<jfclere[at]gmail.com
>> > wrote:
>>> Hi,
>>>
>>> I plan to use slotmem (additionally to the actual file based
>>> logic) in the
>>> heartbeat logic.
>>> HeartbeatStorage mem:logs/hb.dat (slotmem and key/save uses logs/
>>> hb.dat).
>>> HeartbeatStorage logs/hb.dat (existing logic).
>>>
>>> Of course the hearthbeat handler will use slotmem and issue en
>>> error at the
>>> start if that is not the storage configured. (actualy the the
>>> hearthbeat
>>> handler doesn't work).
>>>
>>> The slotmem element will use the proxy_worker_stat and heartbeat
>>> actual
>>> format...(Well a string big enough).
>>>
>>> Comments?
>> why do we need to store the same information twice?
>
> Not twice, I will just keep the old file logic and add a new one,
> the proxy_worker_stat would come from the slotmem not from the
> scoreboard.
>

+1

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.