Concurrency Control: Technicalities and User Experience (Firebase/JavaScript)
I’m learning how to use Firebase in order to develop an e-commerce website. I’m just curious as to how concurrency is solved. Let’s say two users, at the same time, attempt to add a product (that has only one item in inventory) to their cart respectively.