1. When Production Telemetry Challenges Your Architecture Assumptions
In Part 10 , we focused on AI token FinOps and Cloud Storage lifecycle automation . Yet when we audited our weekly Wednesday lab billing on our live Hong Kong production project ( it114115-2627 ), Cloud Firestore operations—not Gemini tokens—were dominating daily database spend during 40+ seat studio sessions.
Using Google Cloud Monitoring ( firestore.googleapis.com/document/read_ops_count and write_ops_count ) , Cloud Run function invocation metrics , and live Firestore REST API forensics , we uncovered three distinct cost multipliers—each invisible in local emulators or single-user tests:
Root-Document Write Amplification ( onClassUpdate Cascade) : Every student screenshot upload ( ~26,800 uploads per afternoon) incremented storageUsage directly on classes/{classId} , waking up 50+ student onSnapshot listeners AND firing onClassUpdate thousands of times unnecessarily.
Base64 Slide Streaming & Listener Multiplication : Legacy screen…