Answer the question
In order to leave comments, you need to log in
How does a computer deal with files opened on the local network?
How does a computer deal with files open on a local network? For example, if 10 people open one Photoshop file in PSD format, which is located on the server. While working with this file, is it loaded into RAM on the server or into memory on the user's computer? Which PC resources are being used at this moment? Also, while changing a file, for example, 10 people are drawing in this file at the same time, does the hard disk work? Or does everything happen in RAM and the hard drive only works while saving?
Answer the question
In order to leave comments, you need to log in
If we are talking about SMB, then the
file is downloaded to the PC, opened in the program
The file is changed, saved to the PC
The file is copied back to the network folder, replacing the file lying there
In order not to overwrite someone else's file, the file is blocked for changes if someone has already opened it. You will not be able to open 1 file for editing from 2 different PCs. The first one will open with full rights, subsequent PCs - only view
Server resources are used only to transfer the file, therefore, you can deploy the file dump almost on the "calculator"
For example, if 10 people open one Photoshop PSD file located on the server
How does a computer deal with files open on a local network?With files (this standard follows from posix, which is implemented one way or another, starting with local files), in addition to read and write operations, there is a blocking operation, when the file, as it were, remains marked how exactly it is allowed to open this file simultaneously by other programs (this determines the instance program that first opened the file), there are options - everything is prohibited, only read is allowed, and it is allowed to read and write, in the latter case there are no transactions, who last wrote - those changes will be saved. None of the participants receive notifications of changes and cannot understand what they are.
Also during file modification, for example, 10 people draw in this file at the same timeThis is the most complex functionality, the development of which will require significant efforts and in the end it will be implemented by very few companies, Microsoft with its office documents or Google, many notable large projects boast of the same?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question