I noticed that it takes around 50ms to add a file to a folder, which is fine, but when there starts to be too many files in a single folder, like 10000 or so, every once in a while adding a file can take up to a minute, and the time increases with the amount of files.
Are there any ways to improve this? Is there a way to add/update multiple files at once, and would this help with speed?