Should Every Pump Keep a Copy of the Supplier’s Phone Number?

A copied contact becomes stale when the supplier changes its number. Separate facts owned by a pump from shared current facts and intentional historical snapshots.

14 sections · 4 questions · 1 coding challenge

1 / 14

A Document Boundary Also Became an Update Boundary

BOTIE

MongoDB’s early manual described embedded objects and references resolved through additional reads. The document model made locality a modelling decision: related information could travel together, while independently maintained objects could keep their own identities.

The maintenance example puts that decision under pressure. A pump’s installed sensor configuration belongs with the pump. A supplier’s current phone number is shared. A purchase-time supplier name may be a historical snapshot that should remain unchanged. Their relationships look similar on a screen but require different update rules.

Sources for this history