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

2016-07-22 Thread Yan Yan
expect the python and c++ code to be running within the same process w/o IPC. Thx. Integrate Python And C++ http://stackoverflow.com/questions/1153577/integrate-python-and-c On Friday, July 15, 2016 at 9:53:29 AM UTC+8, Nathaniel Manista wrote: > > On Thu, Jul 14, 2016 at 6:46 PM, Yan Yan

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

2016-07-14 Thread Yan Yan
, 2016 at 6:46 PM, Yan Yan <lamh...@gmail.com > > wrote: > >> I have got 7k/sec streaming response on python client. Is this expected? >> > > We haven't yet set up a comparable benchmark for single-RPC streaming, so > it's neither expected nor unexpected. On wha

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

2016-07-14 Thread Yan Yan
legroups.com > wrote: > >> +grpc group >> >> On Fri, May 13, 2016 at 8:46 PM, Yan Yan <lamh...@gmail.com >> > wrote: >> >>> https://github.com/grpc/grpc/tree/master/examples/python >>> >>> I performed benchmarks by modifying the

[protobuf] Unresolved import google.protobuf.text_format as text_format

2016-05-19 Thread Yan Yan
My eclipse has resolved pymongo successfully but not protobuf. What should I change in configurations? Thx.

[protobuf] How do I iterate over fields by string field names?

2016-05-19 Thread Yan Yan
foo.bar1 = 1 foo.bar2 = 2 foo.bar3 = 3 foo["bar1"] = 1 foo["bar2"] = 2 foo["bar3"] = 3 Doing this 20 times is kinda clumsy. And __dict__ doesnt work. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop

Re: [protobuf] protobuf-dt required password from eclipse marketplace

2016-05-17 Thread Yan Yan
have encountered this exact problem too, looking >> forward to the fix! >> On Tuesday, 10 May 2016 00:35:36 UTC+2, Adam Cozzette wrote: >>> >>> Thanks for reporting this, Yan. I've passed this along to the team that >>> maintains the plugin; they were able to repro

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.

Re: [protobuf] Can I memcpy protobuf C++ objects if they only contain fixed length fields?

2016-05-14 Thread Yan Yan
ty On Sunday, May 15, 2016 at 7:25:07 AM UTC+8, Feng Xiao wrote: > > On Sat, May 14, 2016 at 8:13 AM, Yan Yan <lamh...@gmail.com > > wrote: > >> No strings, no int64, no int32, no repeated fields. >> Only sfixed64, sfixed32, nested messages. >> Are th

[protobuf] Can I memcpy protobuf C++ objects if they only contain fixed length fields?

2016-05-14 Thread Yan Yan
No strings, no int64, no int32, no repeated fields. Only sfixed64, sfixed32, nested messages. Are there any dynamic allocation? Are there any pointers? Is there a subset of protobuf datatypes that I can use to make fixed size objects that works on memcpy? Will the sizeof() operator work? Ideally

[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

[protobuf] Re: protobuf-dt required password from eclipse marketplace

2016-05-12 Thread Yan Yan
I have got a "No repository found" error today. Below please find a screenshot. <https://lh3.googleusercontent.com/-n4vvGWB16Dw/VzU2WFG-qCI/D4Q/1a8WW64X09IjypESdxld9-Zv8tstFXW2wCLcB/s1600/20160513T100427-yanpc.png> On Tuesday, May 3, 2016 at 1:27:30 AM UTC+

Re: [protobuf] protobuf-dt required password from eclipse marketplace

2016-05-08 Thread Yan Yan
? > > On Sun, May 1, 2016 at 7:34 PM, Yan Yan <lamh...@gmail.com > > wrote: > >> It worked before. Now it required a password. Any idea? Thx. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buf

Re: [protobuf] protobuf-dt required password from eclipse marketplace

2016-05-07 Thread Yan Yan
t 8:00:02 AM UTC+8, Adam Cozzette wrote: > > Could you provide some more detail on where a password was required? > > On Sun, May 1, 2016 at 7:34 PM, Yan Yan <lamh...@gmail.com > > wrote: > >> It worked before. Now it required a password. Any idea? Thx. >> >

[protobuf] protobuf-dt required password from eclipse marketplace

2016-05-02 Thread Yan Yan
It worked before. Now it required a password. Any idea? Thx. -- 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