Developer Rethinks Storing Customer Addresses Redundantly Across Order Documents
A developer discovered that storing a customer's address in every order document made address updates costly, since each order had to be changed. After researching the issue, they found other developers faced the same problem and identified possible fixes. One option is updating only undelivered orders, while another is moving the address into a separate user profile document. The separate-profile approach adds an extra read when order details are needed. The developer favors updating only undelivered orders and asks the community for feedback on the design.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in