How I want to simplify async filesystem APIs... 1/13
-
-
Correct me if I'm wrong, but I believe modern databases have switched to read_at/write_at/seek_read/seek_write and don't really use cursors? Perhaps
@sadisticsystems could chime in... -
Yep. Some less-performant databases only added support for pread/pwrite recently - postgres in 2019, sqlite in 2016. io_uring (the only relevant access method for high-performance IO workloads from now on) accepts an offset for async ops since it makes complexity reasonable
End of conversation
New conversation -
-
-
Ah, this explanation makes a lot of sense. Being able to perform concurrent writes at offsets without locking would be really useful as well -> should map well to how SSDs work. Def seems like Seek for File is not ideal; wish we had a cross-platform `write_at` hmm..
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.