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

[Cosmos] add logic for parallelizing asynchronous queries #35605

Open
simorenoh opened this issue May 13, 2024 · 0 comments
Open

[Cosmos] add logic for parallelizing asynchronous queries #35605

simorenoh opened this issue May 13, 2024 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos cosmos-dt-planning Considered for Dilithium semester planning

Comments

@simorenoh
Copy link
Member

We are in general missing parallelization/ concurrent logic for executing document producers on the async side that could be leveraged to improve performance at the cost of more RU/s being consumed.

We would need a way to expose configuration settings to our users for them to decide on how parallelized a query should be depending on the performance/cost they are looking for.

  • Exposing a new kwarg on the async query methods
  • Syncing with other SDKs on default behaviors/ limits

We would need some solid benchmarking of before/after to get an idea of ratios, improvements, and any additional relevant info.

@simorenoh simorenoh added Cosmos Client This issue points to a problem in the data-plane of the library. cosmos-dt-planning Considered for Dilithium semester planning labels May 13, 2024
@simorenoh simorenoh self-assigned this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos cosmos-dt-planning Considered for Dilithium semester planning
Projects
None yet
Development

No branches or pull requests

1 participant