Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async support #43

Open
LEXUGE opened this issue Apr 22, 2021 · 1 comment
Open

Async support #43

LEXUGE opened this issue Apr 22, 2021 · 1 comment

Comments

@LEXUGE
Copy link

LEXUGE commented Apr 22, 2021

Currently, the niffler only supports Write and Read defined in std. However, AsyncRead or AsyncWrite like those in tokio are also demanded for operating large files or processing files with high disk latency.

@natir natir assigned natir and unassigned natir Apr 22, 2021
@natir
Copy link
Collaborator

natir commented Apr 22, 2021

At the moment AsyncRead or AsyncWrite trait is define by async backend like futures or tokio.
Manage each async backend, could require many code.
We also need compression backend support AsyncRead and AsyncWrite, for example it's not the case for flate2, but async-compression could be nice.

I agree with you, it could be nice to have this Async interface but it's maybe need many change in niffler. So it could take time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants