The MongoDB docs discuss modelling computed data saying:
The application can either recompute the value with every write that changes the computed value’s so