countViewEvent(videoId)
→ countEvent(videoId, eventType)
→ processEvent(videoId, eventType, function)
→ processEvents(listOfEvents)
(what happened at the end to parameterized function?)<aside> ☝ The ‘System Design Interview’ Youtube channel ****video author has an awkward splitting of scalability and performance. DDIA has a clean definition of the scalability concern: "how do we maintain good performance when our load parameters increase by some amount?"
This DDIA definition clearly relates performance to scalability. Performance is the thing scalability maintains in the event of load increases along some dimension.
I’ve used DDIA’s style in this general structure. </aside>
Reliable
Scalable
Maintainable
<aside> 💁🏻♂️ Use https://excalidraw.com/ to do diagramming and split-screen with the system design google document.
</aside>