Do not repeat conversion of SN netmap addresses #1498

Open
opened 2025-12-28 17:35:38 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (Sep 8, 2025).

Originally posted by @cthulhu-rider in https://github.com/nspcc-dev/neofs-node/pull/3497#discussion_r2329492670

the easiest and more obvious thing tbd is to pre-convert network addresses in policy cache before returning them to services

next, we can consider processing the addresses of all SN when updating the network map, so as not to do this until the next epoch

Originally created by @cthulhu-rider on GitHub (Sep 8, 2025). _Originally posted by @cthulhu-rider in https://github.com/nspcc-dev/neofs-node/pull/3497#discussion_r2329492670_ the easiest and more obvious thing tbd is to pre-convert network addresses in policy cache before returning them to services next, we can consider processing the addresses of all SN when updating the network map, so as not to do this until the next epoch
Author
Owner

@roman-khimov commented on GitHub (Sep 8, 2025):

processing the addresses of all SN when updating the network map

That would be my choice. Network map can be huge, but thousands of elements is just not a problem.

@roman-khimov commented on GitHub (Sep 8, 2025): > processing the addresses of all SN when updating the network map That would be my choice. Network map can be huge, but thousands of elements is just not a problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
nspcc-dev/neofs-node#1498
No description provided.