4 ms·
How do you manage the bloat?
by foou 7y ago
How do you manage the bloat?
- existencebox 7y agoTypically (at least when I've implemented variations of this pattern) a batch job run on a schedule performing something like "expire stale/completed jobs past a threshold." If you needed the existence of completed jobs to compute future jobs, use a supplementary datastructure that stores spans or other heuristics, updated in a transaction with job completion