nspcc-dev / nspcc-dev/neofs-node
Speed up shard evacuation process
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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