Hi Alex,

Can you share a bit more information about how you performed your tests?
Are those numbers averages? How many times did you call both APIs? Was this
repeatable or did you run the test multiple times?

Thanks,
Dan


On Sat, Apr 13, 2013 at 1:46 AM, alex <a...@cloudware.it> wrote:

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



-- 
Dan Holevoet
Google Developer Relations

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