Stefan Fuhrmann wrote: > Julian Foad wrote: >>> The idea is simple. When writing a noderev to the txn folder, >>> write another file named by the rep's SHA1 and store the rep >>> struct in there. Lookup is then straight-forward. >> >> Hi Stefan. What's the scalability? I'm wondering about the >> big-O performance of storing 10000 or 100000 files in the dir. > > Yes, I don't like putting that many files into a single folder either. > However, we do that already today by creating a file for each > noderev. I.e. my change at worst doubled the number of files in > the txn folder.
OK; in that case I'm satisfied that if there is a scalability problem then it was already a problem before this change. - Julian