neofs-node
neofs-node copied to clipboard
Allocation optimizations
Is your feature request related to a problem? Please describe.
I'm always frustrated when a storage node does not store objects fast. Some profiles say it allocates a lot. Because of the different things.
Describe the solution you'd like
Do some object marshaling optimizations (the list is extendable):
- Do not (un)marshal an object if a node reads it for replications only; just stream it as is;
- Do not sign a message more than once during the initial object distribution (for
REP N
without a local copy, a node will sign and send the same message N times); - ...
Describe alternatives you've considered
Look at profiles, get used to profiles, love profiles.
The first one is #2317. I'd say this one is for the second.
@roman-khimov, did not know #2317 exists. Initially planned this issue to be a general issue with some discussion. Can be reworked/renamed.