As directory size grows, calls to MFS like files/cp, files/mkdir, and files/rm get slower and slower. For initial sync at least, adding directories, we could add all the files at once, with the entire directory tree. Then a single files/cp could copy the tree into MFS, solving this problem for initial sync.
Could still be a bit slow for anything other than initial-sync, but I think initial sync is where this will impact the most.
As directory size grows, calls to MFS like
files/cp
,files/mkdir
, andfiles/rm
get slower and slower. For initial sync at least, adding directories, we could add all the files at once, with the entire directory tree. Then a singlefiles/cp
could copy the tree into MFS, solving this problem for initial sync.Could still be a bit slow for anything other than initial-sync, but I think initial sync is where this will impact the most.