spinframework / spinframework/spin

Support global distribution configuration with Cosmos KV SDK

Open
#3,021 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.