Where do you find your API %? On Thursday, March 8, 2012 11:27:58 PM UTC, Brandon Wirtz wrote: > > Oh, and I know Goog isn’t in the business of saving us all money, but > using the data in the dashboard, they could build a really great Cost > optimizer based on the way your CPU usage looks. > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Brandon Wirtz > *Sent:* Thursday, March 08, 2012 3:56 PM > *To:* [email protected] > *Subject:* RE: [google-appengine] My expirencie with python 2.7 and others > > > > You only get the benefit of threads if you have unused CPU cycles. If you > are only spending .1% of the time waiting on API’s than you don’t have any > “Spare” CPU to start on the next task. > > > > Your app will perform as you said, instances will queue up and the first > request will take the same amount of time as it did before, the second > request will take twice as long, and so your average will be 50% longer > than it was on 2.5. > > You might test F2 instances with thread safe. In some cases we have found > these to be Significantly faster for Request 1. > > > > With F1 and thread safe you would see > > > > 100Ms for 1st request > 200MS (100+100) for 2nd request. > Average 150ms > > > With F1 With out thread safe > > 2 instances would handle requests in 95ms > > > > F2 With Thread Safe > > 50MS for 1st Request > 100MS for 2nd Request > Average 75MS > > > > This F2 Time is As a Result Faster, and The same Price if not Cheaper than > the F1’s with out thread safe. > > > > > > > > *From:* [email protected] > [mailto:[email protected]] *On Behalf Of *Felippe Bueno > *Sent:* Thursday, March 08, 2012 3:35 PM > *To:* [email protected] > *Subject:* Re: [google-appengine] My expirencie with python 2.7 and others > > > > Thanks for your answer Brandon. > > > > Let me see if I understand. > > > > I'm like only 0.1% API calls CPU. > > You are saying that threadsafe is not a good idea to me ? > > > > I mean, instances were cuted to half, but latency was the double of python > 2.5. > > > > > > Thanks again. > > > > > > >
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/UcJ1yGwRu-UJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
