I have a web application that uses MongoDB as primary database. This is the first project I do with a NoSQL DB. I'm trying to create the application model but I'm confused. I know NoSQL databases are non-normalized and it is normal to replicate data avoiding joins (which are not supported) but I'm now thinking of this scenario:
I have the
User class containing email address and the user can change it in the profile page. This email address is displayed in a few pages in different environments and I think the right choice is to embed this property in a few class documents (ex.: product subscription, invoice, shopping cart, ... ).
What if the user changes his email address? Do I have to trigger multiple updates to change every collection, every document that embeds this property?