neofs-node icon indicating copy to clipboard operation
neofs-node copied to clipboard

Allocation optimizations

Open carpawell opened this issue 1 year ago • 2 comments

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):

  1. Do not (un)marshal an object if a node reads it for replications only; just stream it as is;
  2. 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);
  3. ...

Describe alternatives you've considered

Look at profiles, get used to profiles, love profiles.

carpawell avatar Oct 04 '23 14:10 carpawell

The first one is #2317. I'd say this one is for the second.

roman-khimov avatar Oct 04 '23 15:10 roman-khimov

@roman-khimov, did not know #2317 exists. Initially planned this issue to be a general issue with some discussion. Can be reworked/renamed.

carpawell avatar Oct 23 '23 07:10 carpawell