scylladb / scylladb/python-rs-driver
Add built-in load balancing policies
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 7
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 9
Description
scylla.policies.load_balancing only ships one concrete policy, DefaultPolicy, configured via
node_location_preference / token_aware / permit_dc_failover / enable_shuffling_replicas. Users
migrating from cassandra-driver are used to picking a policy by name — RoundRobinPolicy,
DCAwareRoundRobinPolicy, TokenAwarePolicy, WhiteListRoundRobinPolicy — and have to translate that
into the right DefaultPolicy(...) kwargs by hand.
Proposal
Ship a small set of named policy classes as thin, documented wrappers that construct a DefaultPolicy
under the hood with the matching parameters.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at scylla.policies.load_balancing and read DefaultPolicy and its existing configuration options. Compare the proposed Cassandra policy names with the matching DefaultPolicy parameters, then verify that each named wrapper is documented and constructs the intended policy behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100