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

Simplified-LTS : Object/Blob storage: Optimize chunk addition by combining create followed by write in a single call #4967

Closed
sachin-j-joshi opened this issue Jul 23, 2020 · 0 comments · Fixed by #5455
Assignees
Labels
area/lts kind/enhancement Improvements that should be made

Comments

@sachin-j-joshi
Copy link
Contributor

Problem description
Currently ChunkedSegmentStorage makes two calls (create followed by first write) for addition of each new chunk.
This is unnecessary. Object/Blob storage allows to create and write data in a single request we should leverage that.
Problem location
ChunkedSegmentStorage::write and ChunkStorage.

Suggestions for an improvement
Provide another overload to ChunkStorage.create that takes initial data to write and writes it immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/lts kind/enhancement Improvements that should be made
Projects
None yet
1 participant