On 23/05/25 10:29AM, Anthony wrote:
> What do you mean by, "because of concurrency"?
At any given moment, several HTTP clients can request posting data at the same
time. They can hang indefinitely in the middle of sending data. If the process
involves writing to a file, this can lead to data corruption or data loss. Even
with a file lock, other such requests can be delayed or even denied. That's why
a more sophisticated approach, possibly with caching, transactions and other
methods which are present in database systems, is needed.
Received on Thu May 25 2023 - 19:12:19 CEST