What does a pull feed cost per read, and what does it save?
Sketch your own answer first, then compare it with the one below.
A strong answer
A read fetches recent posts from every account the reader follows. With 200 follows that is up to 200 lookups, which are best done in parallel and from a cache.
It saves write work. A post is one write, no matter how many followers it has, and inactive users cost nothing.
Sources
- Adam Silberstein, Jeff Terrace, Brian F. Cooper, Raghu Ramakrishnan (2010). Feeding Frenzy: selectively materializing users' event feeds.
- Jeffrey Dean, Luiz André Barroso (2013). The Tail at Scale.