Hello. In order to test if <threadsafe> setting is working as expected, I wrote a small application that increments a static counter variable, sleeps for a couple of seconds and returns the counter's value in a web page. After that I've issued 15 requests in parallel from my browser (using different tabs). During the test, the same server instance served all my requests (as shown in admin console / instances)... this was also in agreement with the returned web pages where the counter increased from 1 to 15 (i.e. all requests were processed by the same server instance sharing the same static counter variable). So far, so good... the only problem was that all requests were serialized, as if no <threadsafe> setting was in place (I mention here that I've included <threadsafe>true</threadsafe> in appengine-web.xml file)... The sleep time I used was 3 seconds and I had to wait about 15*3 = 45 seconds for the last tab to complete and to display the generated web page. So my question is: why does <threadsafe> setting seems to be ignored for java applications? Is there a bug in appengine system? Thank you.
-- 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/-/1wPUkvSu3o8J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.