[grpc-io] Re: debug grpc calls on server side

2017-08-08 Thread 'David Garcia Quintas' via grpc.io
You don't have to modify the Makefile at all. If you want to build with debug symbols, do "make -c dbg ". You should then be able to run your binary into gdb (or attach to it, etc) in the usual way, set breakpoints, etc. On Monday, 7 August 2017 12:31:05 UTC-7, AK wrote: > > I would like to

[grpc-io] Re: Single threaded async server in C++

2017-08-08 Thread 'Sree Kuchibhotla' via grpc.io
Hi Deepak, grpc core internally creates two sets of thread pools : - Timer thread pool (to execute timers/alarms): Max of 2 threads. Typically just one. - Executor thread pool

Re: [grpc-io] Re: gRFC A5: Encoding grpclb info in DNS

2017-08-08 Thread 'Mark D. Roth' via grpc.io
The feature you're asking about actually has nothing to do with supporting grpclb in DNS; it's actually about how to use an alternative DNS server for testing. I originally added support for specifying an alternative DNS server by IP address (not hostname) to the c-ares DNS resolver

[grpc-io] Re: gRFC A5: Encoding grpclb info in DNS

2017-08-08 Thread 谭锦彪
Hi,Roth. I got "dns_resolver.c:252] authority based dns uri's not supported", when use dns like below: ChannelArguments args; args.SetLoadBalancingPolicyName("round_robin"); GreeterClient greeter(grpc::CreateCustomChannel(

[grpc-io] Re: error: undefined reference to `grpc::ServerBuilder::AddListeningPort(std::string const&, std::shared

2017-08-08 Thread Thomas Schober
I found the problem by myself now. By some crazy mistake my IDE used a different compiler than i used for compiling grpc. So this was the actual problem. After i switched to the correct compiler it worked. Am Freitag, 4. August 2017 10:16:40 UTC+2 schrieb Thomas Schober: > > Hi, > > i compiled

Re: [grpc-io] Compiling grpc on MSYS breaks at PROTOC

2017-08-08 Thread Thomas Schober
I managed to get it compiling. I removed the option "generate_mock_code" in the line with the error and it compiled / generated without any problem. I also could compile and run the helloWorld example. Maybe there is a bug in the script here ? Am Montag, 7. August 2017 19:55:58 UTC+2 schrieb