News for hackers. Stuff that matters.
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by HowardRoark on Wednesday March 30, 2011 @06:34PM (#2389529)
GAE Java only handled one request at a time till now?
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by teraflop on Wednesday March 30, 2011 @06:54PM (#2389593)
One request per server instance. The change allows multiple threads to run in each instance, so now your code has to be threadsafe.
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by eneveu on Thursday March 31, 2011 @11:15AM (#2391914)
I was wondering about this in October, I guess the Vosao CMS needs to stop storing state in static fields now:

http://stackoverflow.com/questions/4028787/is-it-thread-safe...

Thilo added answer a few hours ago, pointing out the new threadsafe mode for GAE. That's why I like StackOverflow.

Re:AppEngine 1.4.3 released: new file API, concurrent reques... by Smerity on Wednesday March 30, 2011 @07:58PM (#2389785)
Your code only needs to be threadsafe if you wish to enable the concurrent flag, otherwise your code will happily run as it had before.

I just thought it's important to note that they're not forcing you to push a code update unless you want to handle concurrent requests with a single instance.

Re:AppEngine 1.4.3 released: new file API, concurrent reques... by ShabbyDoo on Wednesday March 30, 2011 @07:02PM (#2389617)
Wow. I'm not a GAE user, so I'm not embarrassed that I didn't know this. However, I'm surprised that such a restriction hasn't come up in all the blog entries I've read about GAE over the years.
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by space-monkey on Wednesday March 30, 2011 @11:39PM (#2390337)
It's not a huge restriction since GAE will happily spin up dozens of instances without any intervention if your load requires it. Getting multiple concurrent requests into each instance will make things like local memory caching somewhat more useful though.
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by brown9-2 on Wednesday March 30, 2011 @08:37PM (#2389915)
I don't really recall seeing this spelled out clearly in the documentation before.
Re:AppEngine 1.4.3 released: new file API, concurrent reques... by tybris on Thursday March 31, 2011 @06:05AM (#2390954)
That's pretty standard for Servlet containers.