spinframework / spinframework/spin
Support global distribution configuration with Cosmos KV SDK
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
Cosmos DB supports configuring global replication of data; however, it is up to the client to specify which region to query data from by specifying preferredRegion in requests. When many language SDKs support this (Go, Java, Python, C#), the Rust SDK does not appear to support it. We will potentially need to add support there first in order to pull it into Spin
Contributor guide
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 by investigating the Rust Cosmos KV SDK and its support for Cosmos DB global replication and preferredRegion, then compare the behavior with the linked Go, Java, Python, and C# SDK capabilities. Determine what Rust SDK support is required before Spin can use it; done means the needed support is available for integration into Spin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100