GitHub user cph6 opened a pull request:
https://github.com/apache/beam/pull/3390
[BEAM-2439] Dynamic sizing of Datastore write RPCs
This stops the Datastore connector from always sending 500 entities per RPC.
Instead, it starts at a lower number which is more likely to complete within
the deadline even in adverse conditions, and then increases or reduces the
batch size in response to measured latency of past requests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cph6/beam datastore_batching
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/3390.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3390
----
commit 1967f0cc3e52a3b2948d449db4bdc6e5ba0a6bdf
Author: Colin Phipps <[email protected]>
Date: 2017-05-15T14:18:16Z
Dynamic batching of entity writes.
This stops the Datastore connector from always sending 500 entities per RPC.
Instead, it starts at a lower number which is more likely to complete within
the deadline even in adverse conditions, and then increases or reduces the
batch size in response to measured latency of past requests.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---