Should we add node address utils in SDK? #35

Open
opened 2023-03-08 23:37:53 +00:00 by snegurochka · 3 comments
Member
Original issue: https://github.com/nspcc-dev/neofs-sdk-go/issues/381 Like this: https://github.com/nspcc-dev/neofs-node/blob/d4b108d8065f8268a988cf3966e181f02e1e5af7/pkg/network/address.go
fyrchik added the
bug
label 2023-05-02 07:52:07 +00:00
Owner

I believe we should:

  1. Arguably, the best thing for the client interface is a string, so we should parse different formats here.
  2. It becomes possible to implement our custom netmap resolver and hide all the switching-between-same-node-endpoints complexity here (the address will probably parse some scheme).
I believe we should: 1. Arguably, the best thing for the client interface is a string, so we should parse different formats here. 2. It becomes possible to implement our custom netmap resolver and hide all the switching-between-same-node-endpoints complexity here (the address will probably parse some scheme).
fyrchik added the
good first issue
label 2023-08-23 10:51:45 +00:00
Owner

Closed via #305

Closed via #305
fyrchik added the
internal
label 2025-03-17 11:59:24 +00:00
Owner

I was to eager to close this, reopening:

  1. Not all methods are ported (String() should be ported too).
  2. FromString does a lot of conversions, let's profile and optimize the hell out of it.
  3. Let's discuss whether to store .Sting() results in the struct itself, to avoid costly conversions.
I was to eager to close this, reopening: 1. Not all methods are ported (`String()` should be ported too). 2. `FromString` does a lot of conversions, let's profile and optimize the hell out of it. 3. Let's discuss whether to store `.Sting()` results in the struct itself, to avoid costly conversions.
fyrchik reopened this issue 2025-03-17 12:27:39 +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-sdk-go#35
No description provided.