Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

We are running multiple load tests every day against one of our GAE apps. We use the following pattern:

  1. Start a load test and let it run for a few hours.
  2. Look at graphs.
  3. Optionally deploy a new version of our app with performance improvements.
  4. Go back to 1.

Each load test creates a couple hundred front end instances. We would like to terminate those between individual load tests even when we are not deploying a new version of our app.

Is there a way to terminate all dynamic instances? Right now we either have to deploy a new version or terminate all instances by hand.

share|improve this question

2 Answers 2

Maybe have them all periodically probe the datastore (or memcache) for a kill value?

share|improve this answer
    
Yes, each instance could probe a datastore/memcache kill value. But how could it trigger it's own shutdown based on that? –  Ingo Jun 4 '13 at 19:04

We had a similar problem - I found that disabling the app in Application Settings and then re-enabling it terminated all 88 instances we had running, without any other adverse effects.

share|improve this answer
    
Wouldn't disabling the app stop all incoming traffic temporarily? –  Ingo May 10 '14 at 2:45
    
Yes of course, but the question asks how to terminate all dynamic instances. Even so, it's only down for a few seconds. –  Julian May 13 '14 at 18:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.