I'm not sure it's even possible (to reduce the overhead), and I do
understand there's another infrastructure layer that uses ProtoPRC lib, but
still comare this:

@endpoints.api(name='test', version='v1')
class EndpointsTest(remote.Service):
  @endpoints.method(VoidMessage, TestMsg)
    def test(req):
      return TestMsg(msg='Hello there')

curl /test/v1/test
{msg:'Hello there'}

- results in at least 200ms


to this:

class ProtoRpcTest(remote.Service):
  @remote.method(VoidMessage, TestMsg)
  def test(req):
    return TestMsg(msg='Hello there')

curl -X POST /prototest.test
{msg:'Hello there'}

- results in about 7-10ms


There seem to be a few additional roundtrips going on when making requests
via Endpoints.
Do you guys think it's possible to reduce the latency?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to