Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Head in writecache #1149

Closed
fyrchik opened this issue Feb 8, 2022 · 0 comments · Fixed by #1280
Closed

Optimize Head in writecache #1149

fyrchik opened this issue Feb 8, 2022 · 0 comments · Fixed by #1280
Assignees
Milestone

Comments

@fyrchik
Copy link
Contributor

fyrchik commented Feb 8, 2022

// TODO: easiest to implement solution is presented here, consider more efficient way, e.g.:

Currently we use Get, discuss and benchmark whether an optimization is worth it.

aprasolova pushed a commit to aprasolova/neofs-node that referenced this issue Oct 19, 2022
Also, remove optimization comments:
1. Having to maintain an execute the same logic for headers as for
   objects is quite inefficient, as it increases memory footprint.
2. Unmarshaling object is a cheap operation if data slice is in memory.
3. For unmarshaling header-only, I think we need SDK support.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants