mirror of
https://github.com/nspcc-dev/neofs-sdk-go.git
synced 2026-03-04 04:29:28 +00:00
Make pool choose the node according to container/object storage policy #117
Labels
No labels
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U2
U2
U3
U4
blocked
bug
client
config
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
pool
question
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-sdk-go#117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @realloc on GitHub (Jul 18, 2022).
When a protocol gate tries to PUT or GET an object, it uses the client pool connections to a technically random storage node. If it could use the node from the set of container nodes (if there is any of them in current connection pool), it could improve performance. If there are no nodes from the container set, everything would work as it is now.
The cost of modification:
Protocol gateways have a container cache on their side, hence it may be better to accept the storage policy as an argument.
@alexvanin commented on GitHub (Jul 21, 2022):
Blocked by API changes (method to fetch network map)
@alexvanin commented on GitHub (Oct 6, 2022):
API now returns netmap in netmap service:
nspcc-dev/neofs-api@c03a53813aNow need to discuss implementation details in pool.
Also it might be blocked until neofs-api-go will support new API.
@fyrchik commented on GitHub (Oct 6, 2022):
See also #341