-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
I3Minimal impactMinimal impactS3Minimally significantMinimally significantU3RegularRegularenhancementImproving existing functionalityImproving existing functionalityneofs-storageStorage node application issuesStorage node application issuesperformanceMore of something per secondMore of something per second
Description
Is your feature request related to a problem? Please describe.
to respond with local object header stored in BLOB storage, server:
- reads full header binary into buffer
- decodes it into SDK object structure
- converts it to API object structure
- encodes it into protobuf
in more detail, 1 includes:
1.1. format verification
1.2. memory allocation
each step (except perhaps 1.1) results in memory allocations. Although, given that BLOB storage keeps headers as protobufs, most of them are redundant
Describe the solution you'd like
read header protobuf directly into response message. This will reduce the number of allocations and speed up the execution
consider keeping 1.1
Additional context
Metadata
Metadata
Assignees
Labels
I3Minimal impactMinimal impactS3Minimally significantMinimally significantU3RegularRegularenhancementImproving existing functionalityImproving existing functionalityneofs-storageStorage node application issuesStorage node application issuesperformanceMore of something per secondMore of something per second