Building a Ledger System - Chapter 6: Displaying Balance and Mutations to Users
The first time our mobile app loaded a user’s transaction history, it took 12 seconds. Twelve. Whole. Seconds. I watched our CEO stare at the loading spinner during a demo, and I could see the math happening in his head: If this takes 12 seconds for one user, what happens when we have 10,000 users checking their balance at 9 AM on payday? He didn’t say anything. He just raised an eyebrow. ...