top | item 28722343 (no title) dfranke | 4 years ago That's what mmap is for. discuss order hn newest haydnv|4 years ago It might be possible to replace freqfs with mmap on a POSIX OS, but a) you would still have to implement your own read-write lock, and b) you would (I think probably?) lose some consistency in behavior across different host operating systems. vlovich123|4 years ago Which OSes does this run on that doesn’t have some kind of mmap operation? load replies (1) gpderetta|4 years ago mmaps for read, explicit API for writing, a-la LMDB. Buggy readers can read inconsistent data but cannot corrupt the os. load replies (1) unknown|4 years ago [deleted]
haydnv|4 years ago It might be possible to replace freqfs with mmap on a POSIX OS, but a) you would still have to implement your own read-write lock, and b) you would (I think probably?) lose some consistency in behavior across different host operating systems. vlovich123|4 years ago Which OSes does this run on that doesn’t have some kind of mmap operation? load replies (1) gpderetta|4 years ago mmaps for read, explicit API for writing, a-la LMDB. Buggy readers can read inconsistent data but cannot corrupt the os. load replies (1)
vlovich123|4 years ago Which OSes does this run on that doesn’t have some kind of mmap operation? load replies (1)
gpderetta|4 years ago mmaps for read, explicit API for writing, a-la LMDB. Buggy readers can read inconsistent data but cannot corrupt the os. load replies (1)
haydnv|4 years ago
vlovich123|4 years ago
gpderetta|4 years ago
unknown|4 years ago
[deleted]