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

Fix or not per-topic limit in the topic table #8

Open
harnen opened this issue Mar 12, 2021 · 0 comments
Open

Fix or not per-topic limit in the topic table #8

harnen opened this issue Mar 12, 2021 · 0 comments
Assignees

Comments

@harnen
Copy link

harnen commented Mar 12, 2021

It's not clear whether we should have a fixed or non-fixed limit per-topic in the topic table.

Arguments for fixed:

  1. No need to store more registrants than we return in one go. We try to avoid asking the same registrars multiple times anyway.
  2. May help with fairness and avoid unpopular topics struggling to get space (space is the same for all the topics)
  3. Simpler table management - we have simple FIFO for each topic
  4. May help with load balance (even nodes close to the topic hash won't store more than the limit)

Arguments for non-fixed:

  1. Better space utilization. If there's a small number of topics in the system, we might still fill the whole table.
  2. We can allocated more space for popular topics within one registrar. (will just need to measure popularity) - With the fixed limits, the popular topics will be present on more registrars, but will take the same amount of space within each registrar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants