• by hayst4ck on 6/9/2023, 8:07:34 AM

    Frequently people will ask for a very specific thing, not understanding the greater context of what they are asking for. If they knew the greater context, then they would be asking different questions.

    I suspect this question is one of those questions, but since this question feels foreign, I am probably the one who doesn't understand the greater context.

    Why don't you need replication? What are the limitations you have (economic?) that resulted in this architecture?

    An example question might be, what value does the directory structure add over just hashing the file, storing the file by it's hash in the same directory with all the other files, and then referencing the hash in your SQL?

  • by compressedgas on 6/8/2023, 4:13:46 PM

    I was thinking about the BSD utility mtree https://man.freebsd.org/cgi/man.cgi?mtree(8) then I remembered the recently posted https://github.com/mactat/framed