Il giorno 01/dic/2011, alle ore 10:08, Łukasz Mierzwa ha scritto:

>> 
> 
> I don't think I follow You with this nail option, if node I remove one node 
> from my setup then I don't need it's statistics in fastrouter stats. The 
> issue 
> above is that during normal work, when nothin is restarted, no configuration 
> is 
> changed and the subscribed node and fastrouter are both running all the time, 
> statistics for one node gets cleared between requests. Is this normal 
> behaviour of those linked lists?
> 
> Łukasz Mierzwa

I mean, even when you "reload" (gracefully) a node, the fastrouter receives an 
"unsubscribe" request from the node master and
that node will be marked as dead, then it will be removed.
When the node has finished reloading (it could take even a bunch of 
milliseconds) it will popup-back to the fastrouter list (obviously with all the 
counters to 0)

Another "unsubscribe" cause is on machine overload, where the master cannot 
send the "keepalive" message (its frequency is configurable) for subscription 
and the fast router removes it.

A "nail" mode will inform the fastrouter to not remove dead nodes from the list 
(and so the counter will not be reset)

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to