long lived keep-alive connections tend to exhaust thread pools on
servers that use thread pools to serve long lived keep-alive
connections.

On Mar 18, 6:57 pm, David Mora <[email protected]> wrote:
> I tend to agree with the previous comment by Stephen.
>
> The fact that custom clients (read non standard browsers apps built on:
> iphone, androids, etc) are forced to close sockets to app engine servers
> makes it more obvious to apply a strategy pattern over the interfaces
> considering mostly REST. Unless it is planned to support long lived
> Keep-Alive connections? :)
>
> Using tokenized sessions (like channel) has a bit of overhead i tend to
> dislike as well
>
> Anyways, great job in that implementation - looks a lot promising and pretty
> much alines with what i would expect from a PaaS: focus in business layer
> only
>
> On 18 March 2011 09:17, Stephen <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
> > On Thu, Mar 17, 2011 at 9:48 PM, Rafe Kaplan <[email protected]>
> > wrote:
>
> > >  class HelloRequest(messages.Message):
> > >   my_name = messages.StringField(1, required=True)
>
> > >  class HelloResponse(messages.Message):
> > >   hello = messages.StringField(1, required=True)
>
> > >  class HelloService(remote.Service):
>
> > >   @remote.method(HelloRequest, HelloResponse)
> > >   def hello(self, request):
> > >     return HelloResponse(
> > >                          hello='Hello there, %s!' %
> > >                          request.my_name)
>
> > >  $.ajax({url: ‘/hello.hello’,
> > >          type: 'POST',
> > >          contentType: 'application/json',
> > >          data: ‘{ my_name: Bob }’,
> > >          dataType: 'json',
> > >          success: function(response) {
> > >            // The response is { hello: “Hello there, Bob!” }
> > >            alert(response.hello);
> > >          }
> > >         });
>
> > Why expose an RPC style interface rather than REST style?
>
> > --
> > 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.
>
> --http://about.me/david.mora

-- 
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.

Reply via email to