
jim at jaguNET
Jun 29, 2009, 9:47 AM
Post #4 of 4
(250 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
|