Your client code seems incomplete (there is no code sending rpcs). Can you share the real code you used to get that latency numbers?
On Thursday, September 15, 2016 at 7:48:54 AM UTC-7, [email protected] wrote: > > I've attached a few pastebins of code samples: > > proto file: http://pastebin.com/F0QaTW14 > server: http://pastebin.com/rL1YxffU > client: http://pastebin.com/fu69Jbkn > > All being accessed via respective functions, those seen in the server (in > the return) all finish in under 1ms (measured) > > On Thursday, September 15, 2016 at 12:06:22 AM UTC-4, Nathaniel Manista > wrote: >> >> On Wed, Sep 14, 2016 at 10:25 AM, <[email protected]> wrote: >> >>> I am trying to send many requests over gRpc, however am running into >>> very poor performance under simulated load via. wrk with a 100ms rpc >>> request deadline. >>> >>> - ubuntu 14.04 x86 >>> - go1.6.2 >>> - 1 Connection being handled via. gRpc >>> - The operation being performed on the server end is always less than >>> 1ms >>> - gRpc time is anywhere from 30-500ms >>> - this test is performed with both client / server on the same machine >>> >>> I attempted a loosely handled open / close connection method which >>> appeared to give a more stable overall time (3-150ms). >>> >>> I am aiming for sub 100ms at all times. >>> >> >> Are you able to share with us the code you've written that is performing >> as you have described? >> -Nathaniel >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/0fd8855e-7f61-475a-882b-692269e39fb3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
