cloudhead / cloudhead/popol

Doesn't support non-blockin File IO on Linux

Open
#24 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
170
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In addition to not supporting Windows yet #16, this create is implemented using unix sockets set to non-blocking. This does, however, not make reads to files non-blocking on linux.

I think you would need to use `io-uring` or `aio` to accomplish that. If async file opening is to be supported, I beleive `io-uring` has to be used

This crate seems fairly incomplete, but the API seems nice

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the crate's existing non-blocking Unix socket implementation and how it handles Linux file reads. Compare the requirements of io-uring and aio for non-blocking file reads and opening; done would mean Linux file I/O is supported without blocking.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
backend, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.