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

Split handle results returned in AtomDB queries into different slots #189

Open
andre-senna opened this issue Aug 12, 2024 · 0 comments
Open
Assignees

Comments

@andre-senna
Copy link
Contributor

Initially we'll have two policies to create slots:

  • Sort all results by importance and slice the sorted list into slots i.e. given m slots of size n, slot 1 will contain the first n/m handles. slot 2 will contain the next n/m handles etc.
  • Sort all results by importance and distribute the most important ones among each slot i.e. given m slots of size n, the first handle goes into slot 1, the second goes into slot 2, etc... until slot m. Then we rotate putting handle m+1 again in slot 1, m+2 in slot 2 etc.
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

1 participant