Whenever you're ready, walk me through how you'd approach this.
Design a system for tracking how much memory a user has written to like on Google Drive.
Clarify the intended meaning of “memory” and “written to like,” then define the tracked resource precisely. Provide a practical end-to-end design covering ingestion from Google Drive changes, storage schema, APIs for current usage, idempotency, concurrent updates, deletion and overwrite handling, reconciliation, and recovery from missed or duplicated events. Explain consistency guarantees, scaling, and how you would validate that reported usage matches Google Drive.