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

Implement proper async reader #26

Open
maximedion2 opened this issue Oct 26, 2024 · 0 comments
Open

Implement proper async reader #26

maximedion2 opened this issue Oct 26, 2024 · 0 comments

Comments

@maximedion2
Copy link
Collaborator

Right now, the async reader "blocks" the thread when decompressing chunks of data (and there might also be other things blocking the thread, like generating the record batches, I'm not sure but something is taking a significant amount of time).

I think the right way to do this is to spawn a tokio blocking task for the part where the chunks is decompressed and everything that follows, so that the async reader can truly be async.

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

1 participant