PLANOMADStoring, reading, syncing and calculating records
A record the app can read may still contain fields it doesn’t know. We keep those fields when the record is saved.
While records arrive in parts, one that hasn’t arrived yet can look like one that doesn’t exist. To tell them apart, the app now starts only after it has read all of the account’s records.
Until now, saving the watch’s records required the phone. We treat the watch as a separate device on the account, so it can save records without the phone.
Although indexes existed, 36 queries were scanning every record. Indexes and queries now come from one declaration.
Old and new versions of the app can’t understand all of each other’s records. Records a version can’t read are skipped, not changed or deleted, so they don’t stop the whole app.
The server remembered only the number of the last write it had applied. The model found a sequence in which this overwrites a record.
We deleted a file and uploaded another under the same name, and the first delete request may only be arriving now. The name alone can't tell us which file it meant to delete.
We stored the time eaten, the order of foods and the meal each belonged to separately, then matched them up again. We decide which is the source and change how they are stored.
Figures come from the documents, change history and measurements of the time. Each article counts in its own way, so line counts cannot be compared with one another. Security, customer and business details are left out.