Skip to content

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

@sachin-j-joshi

Description

@sachin-j-joshi

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions