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

[PECO-1541] Optimize UC Volume ingestion #247

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

kravets-levko
Copy link
Contributor

Currently, when we upload file to volume (SQL PUT) file is fully loaded into memory and then sent to a storage. Similarly, when downloading a file (SQL GET) the file is fully downloaded into memory, and only then stored on disc.

To optimize large file handling, Nodejs streams should be used instead.

Signed-off-by: Levko Kravets <[email protected]>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.19%. Comparing base (c00f72e) to head (44c5d62).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
+ Coverage   93.18%   93.19%   +0.01%     
==========================================
  Files          63       63              
  Lines        1525     1529       +4     
  Branches      266      266              
==========================================
+ Hits         1421     1425       +4     
  Misses         41       41              
  Partials       63       63              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benc-db
Copy link
Contributor

benc-db commented Apr 19, 2024

Do we have a similar issue in the python one? I've been wondering about this for a while.

Copy link
Contributor

@benc-db benc-db left a comment

Choose a reason for hiding this comment

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

Approve, assuming we already have good test coverage of this feature.

@kravets-levko
Copy link
Contributor Author

Do we have a similar issue in the python one? I've been wondering about this for a while.

Just checked - in PySQL everything is fine there.

@kravets-levko kravets-levko merged commit c52f2ba into main Apr 19, 2024
8 checks passed
@kravets-levko kravets-levko deleted the PECO-1541-optimize-ingestion branch April 19, 2024 16:21
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.

3 participants