today's optimization work for srap will revolve around reducing disk writes; sra...

@joepie91@slightly.tech

today's optimization work for srap will revolve around reducing disk writes; srap heavily uses ordered key/value stores (lmdb directly, and I believe oxigraph uses rocksdb under the hood), and so it helps a lot to batch mutations into one transaction to reduce relocations of the data on disk, which is the primary casue of disk writes. in srap-search, I already found >99% disk write reductions in some specific cases, through batching.

SSDs have a limited write durability, and srap will be processing potentially very large amounts of data, so I want to make sure that it doesn't wear out people's SSDs in the process (even though on HDDs this wouldn't be an issue)

#ProjectToot #seekseek