Parallelize object distribution over all the nodes #225

Open
opened 2023-04-06 17:04:18 +00:00 by carpawell · 1 comment
Contributor

Currently Next can handle placement vectors one by one only. Every vector is being handled asyncly but I think it is possible to work with every node (in every vector and not only in the same one) that way too. But it needs to be done carefully without Put requests duplication.

Currently [`Next`](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/90276953719d4cf74a94a2fc10d98f1fac0aa4d9/pkg/services/object_manager/placement/traverser.go#L164-L188) can handle placement vectors one by one only. Every vector is being handled [asyncly](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/90276953719d4cf74a94a2fc10d98f1fac0aa4d9/pkg/services/object/put/distributed.go#L215-L256) but I think it is possible to work with every node (in every vector and not only in the same one) that way too. But it needs to be done carefully without `Put` requests duplication.
carpawell added the
triage
label 2023-04-06 17:04:18 +00:00
fyrchik added the
frostfs-node
label 2023-04-07 04:57:00 +00:00
snegurochka added the
enhancement
label 2023-05-03 17:14:44 +00:00
fyrchik added this to the vNext milestone 2023-05-18 08:32:32 +00:00
fyrchik added
P3
and removed
triage
labels 2024-01-16 12:11:09 +00:00
Owner

Multiple REP vectors is not the most popular scenario, and the implementation needs to play nicely with copies_number parameter -- we must store first N copies according to the order.
So either we use this optimization when copies_number=0 or do not use at all.

Multiple REP vectors is not the most popular scenario, and the implementation needs to play nicely with `copies_number` parameter -- we must store first N copies according to the order. So either we use this optimization when `copies_number=0` or do not use at all.
fyrchik added the
discussion
triage
labels 2024-01-16 12:13:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#225
No description provided.