Re: [grpc-io] Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-07-22 Thread Yan Yan
7k/sec streaming response still a little slow in my use cases. Can I do the grpc and protobuf stuff in c++ and integrate it with a python client? It is a user requirement that the client has to be in python. Has anyone tried grpc, protobuf, plus some of the stuff in the thread below? I would exp

Re: [grpc-io] Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-07-14 Thread Yan Yan
grpcio-0.15.0 cpu is i5-6600 cpu utilization 156% python route_guide_client.py cpu utilization 121% python ./route_guide_server.py 7k/sec streaming response is already much better than 1.9k/sec 2 months ago ^_^ i have made the ListFeature() method yielding the same thing over and over. How cou

Re: [grpc-io] Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-07-14 Thread Yan Yan
I have got 7k/sec streaming response on python client. Is this expected? Thx. rpc ListFeatures(Rectangle) returns (stream Feature) {} On Sunday, May 15, 2016 at 2:31:37 PM UTC+8, Nathaniel Manista wrote: > > On Sat, May 14, 2016 at 4:30 PM, 'Feng Xiao' via grpc.io < > grp...@googlegroups.com > w

Re: [grpc-io] Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-05-16 Thread Yan Yan
ty -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Vis

Re: [grpc-io] Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-05-14 Thread 'Jan Tattermusch' via Protocol Buffers
Yes, we are aware of this problem and we are working hard to address this. Significant performance improvement for gRPC Python is coming soon. Jan On Sat, May 14, 2016 at 6:11 PM, wrote: > python sync call 260 time/sec > python streaming response 1900 times/sec > cpp sync call 9k times/sec > cp

Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-05-14 Thread lamhinyan
python sync call 260 time/sec python streaming response 1900 times/sec cpp sync call 9k times/sec cpp streaming response 360k times/sec On Sunday, May 15, 2016 at 7:30:30 AM UTC+8, Feng Xiao wrote: > > +grpc group > > On Fri, May 13, 2016 at 8:46 PM, Yan Yan > > wrote: > >> https://github.com/g

Re: [protobuf] How can I make python sync calls and streaming responses faster?

2016-05-14 Thread 'Feng Xiao' via Protocol Buffers
+grpc group On Fri, May 13, 2016 at 8:46 PM, Yan Yan wrote: > https://github.com/grpc/grpc/tree/master/examples/python > > I performed benchmarks by modifying the python examples. I have got > 260/sec sync calls (req & rep rpc) and 1900/sec streaming response. How can > I increase the thruput wi

[protobuf] How can I make python sync calls and streaming responses faster?

2016-05-13 Thread Yan Yan
https://github.com/grpc/grpc/tree/master/examples/python I performed benchmarks by modifying the python examples. I have got 260/sec sync calls (req & rep rpc) and 1900/sec streaming response. How can I increase the thruput without multithreading and increase batch sizes? Thx. -- You received