Skip to content

Stream GET replies #3439

@roman-khimov

Description

@roman-khimov

Is your feature request related to a problem? Please describe.

I'm always frustrated when we're wasting time and memory for nothing. Current GET (and GETRANGE) implementation does complete buffering for both local and networked requests.

Describe the solution you'd like

Network API always had a concept of payload stream, FSTree can also provide it now after #3431. The only thing needed is to make it available from shard/local engine API and use it in object service. Play with buffers a bit (64K should be OK after #3406 and SDK version update).

Describe alternatives you've considered

Keep pulling megabytes of data into RAM, wait for this data to be read completely before replying to user.

Metadata

Metadata

Assignees

Labels

I3Minimal impactS3Minimally significantU2Seriously plannedneofs-storageStorage node application issuesperformanceMore of something per second

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions