Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6850113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:05:02+00:00 2026-05-27T01:05:02+00:00

I am playing with GAE and made a very compact application that gets tiny

  • 0

I am playing with GAE and made a very compact application that gets tiny requests and outputs tiny responses at a constant rate (from a program that uses cURL and a loop).

It’s not dealing with a UI and it’s not meant to be called from a browser, it’s simply receiving POST requests, doing some processing and outputting light data as ASCII text.

I’ve managed to optimize my app a bit so that the average latency is usually 20-30 ms and it’s been working great so far, a single instance could probably manage easily a dozen of queries per second because of the very low latency.

This morning however, for about 40 minutes, there was a big spike in performance degradation and the application started to take 20,000 to 30,000 ms to handle a request, see here : https://i.stack.imgur.com/AYxmv.png .
The GAE app code was not altered during this time nor the program that makes the requests.

How can I know what was the cause of this and if it will happen again in the future?
I checked in the logs and nothing looked wrong and there is no way to contact Google on this.

My app is very sensitive to latency and all requests should be handled as fast as possible and certainly under 1 second.

I set the Min Pending Latency at 10ms in the Admin panel of my application but is there a way to reduce the max timeout of a request? It is 60 seconds by default I think.


Edit : Here are other charts where we can see what was affeted was ‘API calls CPU’ and ‘Active instances’ but I am not sure how that tells me what went wrong…


Edit2 : Here are some log entries for requests that happened during the problematic period :

69.165.137.199 - - [23/Nov/2011:06:56:11 -0800] "POST / HTTP/1.1" 200 287 - - "app.appspot.com" ms=36378 cpu_ms=258 api_cpu_ms=98 cpm_usd=0.007259 instance=00c61b117cd98a4e8f9d6c0215d5e14c3336
69.165.137.199 - - [23/Nov/2011:06:55:32 -0800] "POST / HTTP/1.1" 200 287 - - "app.appspot.com" ms=34584 cpu_ms=125 api_cpu_ms=98 cpm_usd=0.003555 instance=00c61b117cd98a4e8f9d6c0215d5e14c3336
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:05:03+00:00Added an answer on May 27, 2026 at 1:05 am

    Here are some things to try:

    • Try to deploy it again under a different name (make that the new default) and see if performance comes back. If it does then there may be something that causes it to slow down as it runs.
    • Check how big your datastore is. You may have some queries that are only slow when testing with a large dataset.
    • Download appstats here is a tutorial and follow this guide to performance profiling
    • If you are using memcache check that you are returning data from it instead of doing another datastore query
    • If you are using task queues, make sure one didn’t get stuck. You can manually run them from the admin page.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Playing around with my web application in the iOS 5 simulator, I noticed that
I'm playing with GAE, and need to make a query with something like this:
I'm playing with a GWT/GAE project which will have three different pages, although it
Playing with the ssh and public_key application in Erlang, I've discovered a nice feature
Playing around with MongoDB and NoRM in .NET. Thing that confused me - there
While playing around with the emulator, I noticed that when trying to view a
iam playing around with OPEN CV from Intel with the associated PHP Extensions. Works
While playing around with playframework yabe-siena-gae, I noticed a datastore file created for the
Playing with URLs, more specifically building them incrementally from other, discovered URLs. In doing
playing around with a property file i figured that there seems to be a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.