
JSJ 454: Mongoose, Mongo and Object Document Mapping (ODM) with Valeri Karpov
JavaScript Jabber
00:00
Using Optimistic Concurrency to Save a Document?
optimistic concurrency assumes that there will be very few conflicts. It tracks an individual version on the document and throws an error if the document has changed underneath you when you trying to save it. So both changes end up in the data base at the same time, but neither is aware of the other. Jono: "Ive tried playing around with deno... I must at heaps of different aee driver"
Transcript
Play full episode