Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor
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> 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
Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor
Paul Querna wrote: On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clere 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
Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor
On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clere 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?
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