nspcc-dev / nspcc-dev/neofs-node

Speed up shard evacuation process

Open
#3,454 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement I3 neofs-storage performance S4 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.

I'm always frustrated when shard evacuation takes more time than it could. We're pulling one object after another and writing them one after another, it's not very productive.

Describe the solution you'd like

Pull objects and push them into write queues (when pushing into multiple shards), accumulate small objects into batches and write batches of objects. Source shard iteration can be done by size if metabase is available.

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 locating the shard evacuation process and trace how objects are pulled and written. Review the write queues, batching of small objects, and the optional metabase-based size iteration described in the issue. Done means evacuation can process objects concurrently or in batches while preserving correct writes across multiple shards.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.