Use non-blocking I/O for lsm_store #19
Labels
No Label
Kind/Bug
Kind/Enhancement
Kind/Feature
Project/Lander
Project/Landerctl
idea
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lander#19
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Both the db files & the entry data files currently use blocking I/O. Ideally the application solely uses non-blocking I/O, so these file accesses should also be non-blocking.
After some research, it seems that it isn't actually possible to set a regular file to non-blocking, as the kernel would stil need to block if data needs to be retrieved from the file system.
Perhaps we could add some manual caching to the LSM store that relegates this, but for the way this issue's currently phrased this isn't possible.