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

OCFReader should be concurrent #227

Open
ThomasHabets opened this issue May 28, 2021 · 1 comment
Open

OCFReader should be concurrent #227

ThomasHabets opened this issue May 28, 2021 · 1 comment

Comments

@ThomasHabets
Copy link

For fast processing code the decompression is the bottleneck. The avro format compresses blocks, right? So it should be possible to run concurrent decompressions such that more CPU cores can be used for decompression?

Uncompressing is by far the bottleneck in my pipeline, because of this single threadedness.

@ThomasHabets
Copy link
Author

I hacked together some ugly code to do this, and on my 12 thread (6 core) laptop it increases speed by about 3x.

Still, not super fast.

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