[grpc-io] Re: Successfully Cross-Compiling GRPC for Linux/ARM - Some Open Questions

2018-11-30 Thread abhinava . sadasivarao
Also, *HAS_SYSTEM_PROTOBUF=false *not only results in re-building protobuf, but generates static libprotobuf.a and libprotoc.a archives. Anyway to use shared objects? On Friday, November 30, 2018 at 9:28:45 PM UTC-8, abhinava.s...@gmail.com wrote: > > Hello Folks! > > Across this forum and the

[grpc-io] Successfully Cross-Compiling GRPC for Linux/ARM - Some Open Questions

2018-11-30 Thread abhinava . sadasivarao
Hello Folks! Across this forum and the GRPC GitHub issue archives, I don't think I see any guide from the maintainers on how to cross-compile GRPC and the dependencies. *Background*: For an embedded project, I was trying to get GRPC to run on Linux/ARM. I am *able to* successfully cross-compi

Re: [grpc-io] Re: python quick start "hello world" example fails

2018-11-30 Thread ankitpatel . edu
Thanks Srini; it worked after this particular addition to my proxy settings. we can mark this thread as resolved now On Monday, November 19, 2018 at 4:52:17 PM UTC-8, Srini Polavarapu wrote: > > Your connection issue is due to proxy configuration on your machine. As > you can see gRPC is connec

Re: [grpc-io] Re: python quick start "hello world" example fails

2018-11-30 Thread ankit patel
Thanks Srini; it worked after this particular addition to my proxy settings. we can mark this thread as resolved now On Mon, Nov 19, 2018 at 4:52 PM 'Srini Polavarapu' via grpc.io wrote: > > Your connection issue is due to proxy configuration on your machine. As you > can see gRPC is connecting

[grpc-io] Re: Measuring gRPC-Java Unary Client Requests Latency From Interceptor

2018-11-30 Thread 'Carl Mastrangelo' via grpc.io
One of the JVM contributors, Aleksey Shipilёv, has a great blog post on nanoTime. I highly recommend his short post about it: https://shipilev.net/blog/2014/nanotrusting-nanotime/ On Friday, November 30, 2018 at 8:01:53 AM UTC-8, Yee-Ning Cheng wrote: > > Ah you were right, user error.. wasn'

[grpc-io] Re: grpc connections

2018-11-30 Thread 'Carl Mastrangelo' via grpc.io
gRPC uses a "channel" rather than a "connection" as the surface level API. A channel is a managed set of connections to your server(s). The number of connections could drop down to 0 if they are idle, or be as large as every server returned by your DNS entries. gRPC has two pluggable compo

[grpc-io] Re: Repeated blog article rss feed

2018-11-30 Thread 'Carl Mastrangelo' via grpc.io
This has been fixed, and unfortunately caused the URL to change. It's now at https://grpc.io/blog/grpc_on_http2 On Thursday, November 29, 2018 at 5:39:03 PM UTC-8, alan...@gmail.com wrote: > > Thanks for your suggestion, issued > . > > On Frida

[grpc-io] Compile Grpc for Raspbian and .NET Core

2018-11-30 Thread dominik . jeske
I’m looking for some instructions on how to compile Grpc that would work on Raspbian and .Net Core. In source code I can see that I should have libgrpc_csharp_ext.arm.so file but I have no idea how to generate this file? Maybe there are some precompiled versions? -- You received this message b

[grpc-io] Re: Measuring gRPC-Java Unary Client Requests Latency From Interceptor

2018-11-30 Thread Yee-Ning Cheng
Ah you were right, user error.. wasn't counting the timings when there was an exception thrown. Yeah I've been told nanoTime() is better for measuring elapsed time, but actually read somewhere it has a bigger performance hit. Thanks! On Thursday, November 29, 2018 at 5:34:45 PM UTC-5, Carl Mas

[grpc-io] grpc connections

2018-11-30 Thread fairly accurate
Hello All, I'm a newbie grpc user. Actually, i'm using a product that is built over grpc. I have read stuff about grpc, pardon my ignorance, some basic questions on grpc connections. 1. I understand it is 1 connection per client server pair. Does this mean a connection is established between

[grpc-io] Linux build - cmake generated Makefile vs checked-in Makefile?

2018-11-30 Thread steve . nikopoulos
I'd like to understand the difference between the checked in Makefile and the cmake generated Makefile on Linux. On Windows, we must use cmake and then do a build with visualstudio. I understand the reasons for using cmake. On Linux, it seems there are two options. 1) we could use the Makefile

[grpc-io] Linux build - cmake generated Makefile vs checked-in Makefile?

2018-11-30 Thread steve . nikopoulos
I'd like to understand the difference between the checked in On Windows, we must use cmake and then do a build with visualstudio. I understand the reasons for using cmake. On Linux, it seems there are two options. 1) we could use the Makefile checked into the project. 2) we could also use cmake

Re: [grpc-io] Re: Binlog as a gRPC service?

2018-11-30 Thread 'Tommy Ulfsparre' via grpc.io
> Also, what happens if the log service hangs, gets backed up, or is unreachable? Unreachable how? The producer would be implemented in-process and the consumer would be the stream connected to the service. If you have slow consumers or if the producer can't publish/write entries fast enough I woul

Re: [grpc-io] Re: Does gRPC use only http2? tcpdump from a particular client does not show it as http2

2018-11-30 Thread prammadevi
In addition to my tcpdump analysis where it does not classify it as http2 I tries haproxy also does not classify it as http2 packet, haproxy rejects with following line, use_backend test_backend if { ssl_fc_npn -i h2 } but works with following line, default_backend test_backend this further

Re: [grpc-io] libgrpc++: Enabling debug trace on Android

2018-11-30 Thread David Collins
Hi Michael. I have tried upper-case values for GRPC_VERBOSITY also - but still no trace info is displayed. I appreciate the suggestion. On Friday, 30 November 2018 01:06:19 UTC, Michael Lumish wrote: > > Have you tried "GRPC_VERBOSITY=DEBUG"? Our environment variables are > unfortunately case-se

Re: [grpc-io] Re: Recommended gRPC URI scheme

2018-11-30 Thread 'Jakob Buchgraber' via grpc.io
Hi Carl, thanks for the quick reply. Let me be more precise. We have a flag --remote_cache= in Bazel that will support a REST based protocol and a gRPC based protocol. So if a user specifies --remote_cache=https://localhost:9988 it means he wants to use the REST protocol and if a user specifies --