-
Notifications
You must be signed in to change notification settings - Fork 494
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
Bulk API congestion control #1074
Merged
kirankumarkolli
merged 40 commits into
master
from
users/rakkuma/batch-api-congestion-control
Feb 25, 2020
Merged
Bulk API congestion control #1074
kirankumarkolli
merged 40 commits into
master
from
users/rakkuma/batch-api-congestion-control
Feb 25, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
rakkuma
changed the title
Bulk congestion control changes with perf optimizations
Bulk (Batch) API congestion control
Dec 10, 2019
ealsur
reviewed
Dec 10, 2019
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
ealsur
reviewed
Dec 11, 2019
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
ealsur
reviewed
Dec 12, 2019
ealsur
previously approved these changes
Dec 12, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on the SDK changes, I still think that the sample is more of a perf project that might be better in the Tools folder along with the other Benchmark project though.
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
chetanmsft
reviewed
Dec 13, 2019
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
abhijitpai
reviewed
Dec 18, 2019
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
ealsur
previously approved these changes
Dec 18, 2019
chetanmsft
reviewed
Dec 18, 2019
Microsoft.Azure.Cosmos/src/Batch/BatchAsyncContainerExecutor.cs
Outdated
Show resolved
Hide resolved
abhijitpai
reviewed
Dec 19, 2019
Microsoft.Azure.Cosmos.Samples/Usage/BulkSupport/AppSettings.json
Outdated
Show resolved
Hide resolved
abhijitpai
reviewed
Dec 19, 2019
ealsur
previously approved these changes
Feb 12, 2020
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
kirankumarkolli
previously approved these changes
Feb 18, 2020
ealsur
previously approved these changes
Feb 18, 2020
j82w
reviewed
Feb 19, 2020
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Batch/BatchAsyncStreamerTests.cs
Show resolved
Hide resolved
j82w
reviewed
Feb 19, 2020
j82w
reviewed
Feb 19, 2020
Signed-off-by: Rakesh Kumar <rakkuma@microsoft.com>
ealsur
approved these changes
Feb 25, 2020
kirankumarkolli
deleted the
users/rakkuma/batch-api-congestion-control
branch
February 25, 2020 19:39
@rakkuma can you please create a PR to update the changelog. |
@j82w will do. Thanks. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Congestion control for bulk API
Description
This PR modify the partition key range limiter using few metrics such as throttle count, time taken, documents inserted count.
Logic is equivalent to bulk congestion control with few implementation difference.
Type of change
Performance improvement.
Collection RU: 300k - 120 seconds
Collection RU: 1 Million - 60 seconds
Collection RU: 1 Million - 300 seconds
Comparison
This PR closes #690