Skip to content

feat(node): add round-robin host shuffling capability#88

Open
tharropoulos wants to merge 2 commits into
typesense:masterfrom
tharropoulos:shuffle-nodes
Open

feat(node): add round-robin host shuffling capability#88
tharropoulos wants to merge 2 commits into
typesense:masterfrom
tharropoulos:shuffle-nodes

Conversation

@tharropoulos

Copy link
Copy Markdown
Contributor

Change Summary

  • add round_robin_hosts config option to ConfigDict typed dict
  • implement random shuffling of healthy nodes in NodeManager.get_node()
  • add test to verify shuffling behavior with round-robin enabled

PR Checklist

- add `round_robin_hosts` config option to `ConfigDict` typed dict
- implement random shuffling of healthy nodes in `NodeManager.get_node()`
- add test to verify shuffling behavior with round-robin enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant