Sorry for the stupidity, but this is not yet clear!
Suppose there is a class "A", which has a method of writing to the file "X".
We call Timer A, Record "X".
And at that moment, another call is reading or also writing "X" from the Web request. Ile is a process that works constantly because it was launched as the main supervisor.
What is tagda?
Usually an access conflict occurs.
Explanations: Let's say there is a certain library simulating the life of an animal (AI). She searches for something on the Internet, checks and cleans her memory, sorts and classifies various data received from different sources.
Another library crawls along these data in parallel, and makes its own decisions. For example, she can plan the actions of the first library or even the third, fourth.
At the same time, requests may come to the server, and it will do something with the "X" file.
Of course, it can be a database, but it is written here conditionally. Let this be the same file that is common to all.
And the access code to it is also common.
How to do without blocking?
thank