Much to my surprise I found out that AppEngine applications server requests serially. Recently Java applications have the possiblity to server requests concurrently , which is disabled by default ( reference ).
What is the reason for concurrent request being disabled by default? Web applications are by their nature meant to serve multiple requests concurrently, whether they are written in Java, Python or PHP. It seems to me like this is an artificial limitation.
This may have something to do with AppEngine at the beginning not supporting concurrent requests. The feature was only added for Java in version 1.4.3 (March 30, 2011). So some developers may have coded and tested their applications to behave properly only against a single thread at a time.
Once Google built the infrastructure and code to support concurrent requests they may have been wary about enabling concurrency by default, as it could break existing applications. Hence the reason for the opt in approach.
There are some GAE folk who check StackOverflow, so we might need to hear from them to be sure.
I think that is the better option by default as many novice programmers are coding on appengine and expect minimalistic approach than scale/volume.
Concurrent PHP or python (process based) wont messup object data but Java can (thread based). That is the main difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With