-
Committer:
Alex Rousskov
-
Date:
2010-09-01 05:07:21 UTC
-
Revision ID:
rousskov@measurement-factory.com-20100901050721-qrm31fliij76diy8
SMP Cache Manager, Phase2. Initial implementation.
Cache Manager actions are forwarded to Coordinator. Coordinator iterates over
Kids, aggregating their stats if possible and/or allowing them to dump
non-aggregatable output if needed.
Old code computed and dumped stats to Store at the same time. To avoid
computing code duplication, we now collect stats in primitive Stats objects
and then either dump those to Store or send them to Coordinator for
aggregation and, eventually, dumping to Store. This is orchestrated by
action-specific *Action classes that Cache Manager creates on-demand using
ActionCreator.
Needs post-merge polishing in a bootstrap-capable environment.