Perhaps I didn't explain my problem clearly.  This problem applies
only to the development server (dev_appserver.py or SDK).  The problem
is it is single threaded, so when multiple requests arrived at the
same time, they have to be served serially (one after the other), so
one of the request got timed out by the opensocial agent.  What can I
do to service multiple requests concurrently in the development
environment?

On Apr 4, 2:28 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
<evlogime...@gmail.com> wrote:
> That's a very bad idea: dev_appserver is not secure, is snail slow if you
> add more than a couple of thousand entities in it and it is uncertain if it
> can share a "datastore" across multiple instances.
> Why do you want to do this? What is wrong with hosting on GAE?
>
>
>
> On Sat, Apr 4, 2009 at 11:04 PM, Khai <khaitd...@gmail.com> wrote:
>
> > Before I try something crazy I want to know if someone has try it or
> > whether it is too crazy to try.
>
> > The problem is dev_appserver.py is single-threaded, and I need to have
> > multiple instances running.  I am developing an opensocial application
> > which make three asynchronous requests to my server.  Because
> > dev_appserver.py is single threaded, the last request serviced by
> > dev_appserver.py took more than 5 seconds and get timed out by
> > opensocial.  So I need to have multiple processes of dev_appserver.py
> > running.
>
> > I've search this group, and so far I've only found that someone run
> > multiple dev_appserver.py processes using different ports which is not
> > practical for my problem.  I've also search this group for mod_python,
> > but did not find any relevant result.  I want to run dev_appserver.py
> > as a mod_python script with Apache prefork mpm (multiple processes).
>
> > Is this possible?  What is the degree of difficulty?  I am very novice
> > with GAE, and I have never done anything with mod_python.  Has anyone
> > try this before?  Would anyone willing to try it and share it with the
> > group?
>
> > Any responses / advices would be greatly appreciated.
>
> > Khai
>
> --
>
> Alkis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to