A few questions / comments:

   - How many instances can you see being started in your GAE application, 
   in the admin console?  This code only works on the assumption that you have 
   one JVM running and it's very likely that you have more than one.  i.e.  To 
   put it bluntly, this code is almost completely useless on GAE.
   - Have you set your application to be thread safe?  If you have, then 
   this code would probably work for a brief moment of time until your thread 
   count increased slightly.
   
Also, GAE already has DOS protection - see this link for more info 
http://code.google.com/appengine/docs/java/config/dos.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/671D03GBNjEJ.
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-java?hl=en.

Reply via email to