I am trying to speed up the Google App Engine request handler, which has a large PutMulti storage PutMulti (500 entities), breaking it into lots of objects and launching parallel goroutines to send smaller PutMulti calls (100 objects each).
Prior to this, I often received a datastore Call error 11: Deadline exceeded (timeout) from my PutMulti calls, which go to the deadline when I tested the handler in many concurrent requests. After parallelization, the handler accelerated, but I still sometimes got this error, as well as another error, API error 5 (datastore_v3: TIMEOUT): The datastore operation timed out, or the data was temporarily unavailable .
Is this error 5 due to competition in the data warehouse and what is the difference between errors 5 and 11?
google-app-engine concurrency go google-cloud-datastore
Andy haskell
source share