-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
-
In order to enable future work to limit memory usage of the nightly tally operation.
In InventoryAccountUsageCollector.collect, delegate to two methods:
- void updateInstances(Collection<String> products, String account, String orgId)
- AccountUsageCalculation tally(Collection<String> products, String account, String orgId)
each method should use its own transaction.
updateInstances should only update the hosts table and related tables.
tally should fetch the hosts and then produce an AccountUsageCalculation
(right now these are interleaved).
- blocks
-
SWATCH-686 Stream instance updates
- Closed
-
SWATCH-687 Perform nightly tally via the DB
- Closed
-
SWATCH-892 Remove legacy tally logic from codebase
- Closed
- relates to
-
SWATCH-766 Evaluate performance of SWATCH-688 (memory minimization) changes
- Closed
- mentioned on