-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Google cloud datastore slow. >1 sec / query #4560
Comments
@nojvek Two potential explanations immediately come to mind for me:
Do either of these seem reasonable? |
The total number of items in the list is less than 5. So I'm amazed that
its slow.
…On Wed, Jan 10, 2018 at 9:33 PM, chemelnucfin ***@***.***> wrote:
@nojvek <https://github.com/nojvek> Hello, may I ask if @dhermes
<https://github.com/dhermes> answered your question?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-JVMiilpwbkuTxbjICHsJ2ZSpfW9fZks5tJZ0ygaJpZM4Q7x4a>
.
|
@nojvek Your example doesn't show it, but is it possible you are doing the reads in the context of a transaction? The "one per second" response time sounds like one of the limits mentioned in the Datastore API docs:
That row links to the Transactions and Entity Groups concept doc:
@pcostell Can you suggest any other explanation? |
I'm going to take the initiative and close this. This thread is old, and generally latency issues benefit from working with Google Cloud support engineers who have more access to information than the client team would. Please reopen if there's no smoking gun from the service side. |
We've been getting consistent greater than 1 second on average calls from gcds. Not sure why its ridiculously slow.
We are using it from python version :
google-cloud-datastore==1.2.0
Very simple call but consistently very slow.
The text was updated successfully, but these errors were encountered: