Daniel-Constantin Mierla writes:
Here is what I do if I want to get like
"load" stats - i.e., number of
events in a specific period of time. For example number of 2xx
transactions per minute:
Load htable module and define a htable, say stats.
In event_route[htable:mod-init] I set $sht(stats=>2xx_transactions) =
0;
i'm coming back to this rather old thread. my question is, what is the
benefit (if any) of using htable to store the stats as opposed to shared
variables ($shv instead of $sht)?
-- juha