Skip to content
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

Maintain lowest seen TTL #30

Open
m-ronnblom opened this issue Mar 30, 2024 · 0 comments
Open

Maintain lowest seen TTL #30

m-ronnblom opened this issue Mar 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@m-ronnblom
Copy link
Collaborator

Every time libpaf needs to know the lowest TTL for services it owns, it scans through the list.

For libpaf instances through which many services are published, this is a relatively time-consuming operation. It would be better to cache the lowest TTL, or keep a sorted structured of some sort, of all TTLs.

This improvement only affects protocol v3 mode.

@m-ronnblom m-ronnblom added the enhancement New feature or request label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant