You images are too small to see detail. However just looking at the graph and number of steps it looks like when you fetch entities you are doing it one entity at a time which means a lot of round trips (rpcs). Which can slow things down enourmously.
You probably need to look at the code that retrieves entities. Look at using larger batch sizes. You haven't mentioned what language or datastore access mechanism (ie on python, db or ndb) etc. T On Monday, May 5, 2014 5:19:25 AM UTC+8, DiTieM wrote: > > Hello Vinni, > > Thank you for the quick reply. > > I did install appstats and try to find out if there were the bottle necks. > The chart was basically reading from the datastore and then there was a 5 > seconds without any "information". Now it behaves different because it > reads all from memcache (as you will see, there is no big improvement). I > am going to make an screenshot without the memcache, it will take some time. > > > I also measured the time (using time.time( )) between different moments of > the answer. Here is the log: > > 22:31:54.677 GETTING KEYS 0.182710 > 22:31:58.785 GETTING TRIPS 4.290660 > 22:31:58.785 FILTERING 0.000270 > 22:31:58.794 GETtING TA PROFILE 0.008220 > 22:32:04.771 COMPOSING ANSWER 5.977440 > 22:32:04.854 GETTING RATES 0.083230 > > If there is any other information you can consider useful just let me know. > > > > <https://lh3.googleusercontent.com/-tP-3QzK6AYI/U2auD4TlV4I/AAAAAAAAEmE/Z7K3TzmZhtk/s1600/appstats.png> > > -- 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. For more options, visit https://groups.google.com/d/optout.
