-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AddressBook field types with concurrent collections #7040
Comments
I think this ticket needs a design that will ensure consistency during concurrent modification. This is a tricky problem to solve, which requires specialised testing. So in general we've used existing concurrency primitives in Zebra, rather than implementing our own. So I'd suggest opening a ticket for the goal, and any evidence that will help us prioritise it. Then we can add this change as one of the alternatives. For example, some alternatives are:
|
It would solve an issue that's introduced in the current form of #7041. I'll take a different approach in that PR, and re-open this if I see an indication in tokio-console that it's blocking the async executor. |
Thanks, I think that's a useful motivation, feel free to re-open this ticket if it's needed. |
Motivation
This may reduce the likelihood of contention when the inbound service is responding to
getpeers
requests.Possible Design
The text was updated successfully, but these errors were encountered: