it reminds me Optimistic Concurrency in Entity Framework...
@swildermuth7 ай бұрын
It is, but it is to prevent overwrite and network traffic.
@googleiscreepynanya59267 ай бұрын
It seems like the reason you would use this is to Reduce the amount of data transfer and activity on the server from the API. But how significant is this for performance? Is it worth bothering with even?
@swildermuth7 ай бұрын
Less about the data transfer than the integrity of data stored in the DB (unless you're using another mechanism like rowversion). The lookup of the etag is done via a cache, so it reduces DB load too.