nspcc-dev / nspcc-dev/neofs-node

Build node lists for container/object once per request

Open
#4,077 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement I4 neofs-storage performance S3 U4
Dominant language
Go
Stars
38
Forks
51
Avg merge
1d 20h
Merged PRs (30d)
38

Description

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

container node sets are requested multiple times, at least for:

the same is true about container info:

this is excessive. Better to consider the state consistent for the entire request lifetime

cache can amortize the waste of resources

Describe the solution you'd like

get any consistent data only when needed and only once

Additional context

#1803

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the listed call sites in pkg/services/object/acl/v2/classifier.go, pkg/services/object/acl/v2/service.go, pkg/services/object/get/get.go, and pkg/services/object/placement/service.go. Identify how container node sets and container info are obtained across one request, then verify that each consistent value is fetched only when needed and only once during that request.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.