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

Feat: Threaded MutationsBatcher #722

Merged
merged 24 commits into from
May 10, 2023
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update google/cloud/bigtable/batcher.py
Co-authored-by: Mattie Fu <mattiefu@google.com>
  • Loading branch information
Mariatta and mutianf committed Apr 5, 2023
commit d907180063a45fc9739771bbacc07b5d45192c9f
2 changes: 1 addition & 1 deletion google/cloud/bigtable/batcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

MAX_MUTATIONS_SIZE = 100 * 1024 * 1024 # 100MB # max inflight byte size.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rename this variable to indicate it's for flow control.

Suggested change
MAX_MUTATIONS_SIZE = 100 * 1024 * 1024 # 100MB # max inflight byte size.
MAX_OUTSTANDING_BYTES = 100 * 1024 * 1024 # 100MB # max inflight byte size.

MAX_OUTSTANDING_ELEMENTS = 100000 # max inflight requests.
MAX_OUTSTANDING_ELEMENTS = 100000 # max inflight mutations.


class MutationsBatchError(Exception):
Expand Down