Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can I expect better than 60 milliseconds response time from google compute to google datastore

I'm measuring the latency between google cloud compute engine and google datastore.

I'm performing a simple lookup() using the python client library.

The google performance dashboard says that my requests are consuming around 18 milliseconds. I assume that this is a server side metric and not a round trip metric.

I have added some details to my research on github.

I could not find an answer to this specific question on stackoverflow so far:

https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/5#issuecomment-72590494

like image 722
Peter Ham Avatar asked Feb 05 '15 12:02

Peter Ham


People also ask

Is Datastore transactional?

A transaction is a set of Datastore operations on one or more entities in up to 25 entity groups. Each transaction is guaranteed to be atomic, which means that transactions are never partially applied. Either all of the operations in the transaction are applied, or none of them are applied.

Which is an independent entity in a specific geographical location where you can run your resources?

A zone is an independent entity in a specific geographical location where you can run your resources.


1 Answers

While Cloud Datastore does not yet provide latency guarantees, the latencies you're seeing are in line with what we've measured.

The timing information you can see in the App Engine Admin Console is computed server-side so it will not reflect the full latency of the request.

We are working on a new serving stack that should substantially reduce this latency.

like image 78
Ed Davisson Avatar answered Oct 13 '22 05:10

Ed Davisson