This is regarding the development server (dev_appserver.py or SDK). I
am inquiring on this because I am developing an opensocial application
which makes three asynchronous requests, but one of them fail
(randomly). I know that the development server is single-threaded.
I've started another discussion on how to run the development server
as a mod_python script (but haven't got enough discussion yet).
I am a novice python user. I've look python documentation on socket
programming. It uses the listen(). I've look up the manual page for
listen() with "man 2 listen", and it signature is:
int listen(int sockfd, int backlog);
I've grep the development SDK source for 'listen(' but did not find
it. I am confused. Is the listen() system call being used at all? I
am running dev_appserver.py on Linux. Please guide me in the right
direction.
Thanks
Khai
On Apr 4, 4:40 pm, Tim Hoffman <[email protected]> wrote:
> Hi
>
> You really need to read up on the architecture of App Engine, remember
> app engine is a long way from the server. It is not a server like
> apache in it's own right.
>
> As far you and your application is concerned there is no such thing,
> Any pending connections will be handled in googles infrastructure and
> is more than likely going to end up with a new instance starting up.
>
> What would you hope to learn from such a thing if it was available and
> what could
> you do with the knowledge.
>
> Rgds
>
> Tim
>
> On Apr 5, 5:18 am,Khai<[email protected]> wrote:
>
> > With Apache we can configure the maximum length of the queue of
> > pending connections using it's ListenBackLog directive
> > (http://httpd.apache.org/docs/2.0/mod/mpm_common.html#listenbacklog).
>
> > Can anyone with knowledge of the SDK internals please let me know the
> > default maximum length of the queue of pending connections (this
> > would save me some time from having to dig through the source code)?
> > Can we make this a configurable command-line option?
>
> > Any responses would be appreciated.
>
> > Thanks
> >Khai
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
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?hl=en
-~----------~----~----~----~------~----~------~--~---