Hi Rajesh, Results like these are generally to be expected (at least in terms of the variance of latencies).
The trade-off you make with Cloud services is that while you get the scalability and pwoer of a data-center-wide RAM cache or schemaless Datastore, you also get the variability of such data structures (and in the case of Memcache, the volatility of a distributed RAM data structure where the resources are shared within the data center). Without seeing your code, nobody can offer you a solution. There are many factors which could be optimized in theory. It looks, for one thing, that you're making a lot of calls. Have you considered somehow batching or grouping these queries into single operations? Best wishes, Nick On Monday, August 3, 2015 at 10:17:00 PM UTC-4, Rajesh Gupta wrote: > > Attached are the two screen shots showing the appstats > - same request > - same appengine instance > - same user > > The first request took 2914 ms, and the second request takes only 1032ms > As you can see in the attached images, > > 3rd line datastore_v3.RunQuery, difference of 9ms > 5th line memcache.get, difference of 73ms > 6th line memcache.get, differnce 73ms > > Through out the request, there is lot of time difference in the datastore > and memcache calls, between the two requests. > > What can it done to make consistent. > > Rajesh > *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>* > *www.AccountingGuru.net <http://www.accountingguru.net/>* > *Accounting/Inventory/Orders on Google Cloud Platform and Mobile* > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/465eb0a9-46b3-4718-ad88-816ac4574246%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
