Author: Chun-Ho Hung
Ref. https://engineering.quora.com/The-Product-Engineering-Behind-Most-Viewed-Writers
Instead, a better choice is to pre-aggregate discrete versions of MVWs periodically. Rather than relying on the realtime views pipeline above, we can perform offline batch updates to compute the next version of MVWs.