Hi. I'm trying to build a deliverable grpc on Windows using cmake. I think I got the building figured out but the install target gives me trouble. I end up with gRPCTargets-*.cmake files that contain absolute paths instead of ones relative for the grpc as well as the dependency libraries. I obviously can't use these for find_package on any other system. Does anyone have an idea how to fix this? Thanks.
For comparison here the corresponding file gflags created: https://pastebin.com/jSVfYPUp . As you can see it doesn't specify any absolute paths.
The grpc CMakeLists.txt has some issues. I think I have solved the problem with the help of #cmake and will try to create a PR to fix them this weekend.
dtzWill joined the channel
hnje has quit
chin-tastic joined the channel
lungaro
i have short lived processes that need grpc, is there a high startup time besides the tcp 3 way handshake?
like, does connecting send data to the server and wait for a rely or anything?
grey
lungaro: in my experience grpc seems very low latency once the connection is established, but everything is relative, there is a continuous benchmarking page I believe?
well i already know connecting each time a process is spawned is not ideal
i guess I have to do my own bench
grey
please post your results back here, I'm interested. My guess is that it'll be high-ish compared to raw udp or something, because it establishes an actual http connection, not just a tcp connection, there might be a few extra rounds of back and forth
but you get lots of benefits from that compared to raw udp, so... /shrug ?
lungaro
yeah, I will save this for later though. Just showing an strace shows every new connection does this