'ASP.NET Concurrent and Non-Concurrent Tasks
Using ASP.NET, I am making a web API that is storing ITEMS. Users can request the api to mutate any given ITEM. Mutating an item takes a bit of time. It is very important that if there are two or more requests to mutate same ITEM, that the mutations happens in the order that they were recieved, one waiting for the other. If requesting to mutate different ITEMS, then they should happen concurrently.
Any frameworks or patterns that can solve this neatly?
We are just using a single server, but I would be equally curious to know what could solve this at scale.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
