Skip to content

Gaia 20182 Increase read chunksize on iterlines() and remove chunksize from stream_data_series() #377

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

Merged
merged 4 commits into from
Apr 12, 2023

Conversation

prabesh-paudel
Copy link
Contributor

Goal:
The sdk was slow and had adjustable chunk_size (not the read chunk size, but the param to determine how many dataseries to be yielded on each iteration of stream_data_series()) parameter.

Solution:
Increase the read chunksize of iter_lines() to 4 MB. And remove the chunk_size param from stream_data_series() while setting it fixed at 10k dataseries.

Tested:
Tested in local.

@prabesh-paudel prabesh-paudel requested a review from a team as a code owner April 7, 2023 14:06
Copy link
Contributor

@HonghuiLu2021 HonghuiLu2021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Need to update some comments.

@prabesh-paudel prabesh-paudel merged commit 4a69186 into development Apr 12, 2023
@prabesh-paudel prabesh-paudel deleted the GAIA-20182-remove-chunk-size-param branch April 12, 2023 14:02
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

Successfully merging this pull request may close these issues.

2 participants