Assuming I want to overwrite a file with a big content. What will the others get if they pull content of file during overwriting ? First content? Nothing?
Nothing probably. I personally will tackle this situation with the method as such:
Process of renaming would have almost no latency, but if you want to be safe, probably you can have the viewer refresh the page once if the old file is missing.