Add netmap-aware dialer #173
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#173
Loading…
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?
DIaling by IP has problems:
The suggestion is to implement generic dialer (or resolver) in some form:
Benefits:
ExternalAddr
attribute) or internal IP, based on the context.After this we can avoid providing an address completely! Client works with the storage network, not with a specific node, so something like this should be feasible:
Here in addition to (3) we can choose not only address, but a node too.
Related #34
My suggestion is to first try adding gRPC resolver. If it isn't possible, then move this to the client.
While avoiding IP-addresses is a great idea, there are some cases when it might be useful for client applications. For example, when client wants to access storage network through custom light-weight frostfs-node. This node won't participate in network map, so client can't use
frostfs://public-key
scheme to connect.It would be nice to keep both IP and public-key dials in the library for different approaches.
Yeah, this task is not about replacing, but augmenting the client or make it a wrapper on top of a raw-ip one.
Don't take this task, taken by @olefirenque