-
tommmied joined the channel
-
Vink has quit
-
Vink joined the channel
-
Vink has quit
-
Lecherito has quit
-
Vink joined the channel
-
Vink has quit
-
rgrinberg joined the channel
-
zzarr has quit
-
zzarr joined the channel
-
Vink joined the channel
-
Vink has quit
-
Vink joined the channel
-
Vink has quit
-
Vink joined the channel
-
Vink has quit
-
rmz_la3lma has quit
-
pixelate joined the channel
-
Vink joined the channel
-
rmz_la3lma joined the channel
-
zzarr
ejona, thanks for answering, I havent been infront of the computer until now
-
I have read through the tutorial code (c++ code) but I don't understand it
-
I need directions, I have the tools, but where should I start?
-
|Pixel|
well, you can ask questions here, or on the mailing list :)
-
if you have a packet of questions, better post it on the mailing list so we can answer in a big chunk
-
zzarr
well, the simple question is where do I begin?
-
should I define a .proto file first?
-
|Pixel|
so... okay, hm
-
that's more of a philosophical question
-
the .proto file is your data structure
-
some programmers want to lay out their data structure before programming
-
some others want to get the peripheral stuff done before getting into the data structure
-
hatmaker joined the channel
-
I'm more of a data structure first kind of guy, so in my view, yes, starting with your .proto sounds good to me
-
hatmaker has quit
-
zzarr
we are on the same page there, I like to make a structure first too
-
but what do I do with the .proto file then (my application should be architecture independent)
-
|Pixel|
so the idea of the .proto file is to "compile" it
-
it'll generate a source file for the language of your choice
-
so basically your workflow should be to set up some toolchain
-
zzarr
ohh... that's how it works, nice
-
|Pixel|
to have the .proto file compile into a source code, then into your project
-
there's examples in our example Makefile for this
-
-
but there are examples for the other languages azs well
-
then you'll get a C++ structure that'll contain roughly the same things as what you laid out in the .proto file
-
zzarr
now I understand what I did not understand
-
thansk
-
|Pixel|
sure :)
-
zzarr
thanks*
-
just for the sake of asking, how much overhead is there in the protocol compared to XMPP (I know it makes no sense comparing... but in any way)
-
|Pixel|
so "which" protocol ? :)
-
zzarr
qrpc ;)
-
|Pixel|
so gRPC itself is 5 bytes on the wire
-
that's it
-
but gRPC itself isn't really a lot, when you think about it
-
the two big bulks are above and below it
-
zzarr
sounds nice
-
is it encrypted by default?
-
|Pixel|
basically you have HTTP2 as the transport for gRPC
-
which is really not like HTTP1 at all
-
it's a binary protocol, highly optimized for bandwidth and speed
-
zzarr
I like that
-
|Pixel|
HTTP2 works by being encrypted by default - all browsers that are implementing HTTP2 refuse to work without SSL
-
gRPC by default will use SSL too, but you can set up an unsecure channel, if you are explicit about it
-
zzarr
can I stream through it?
-
|Pixel|
yes - HTTP2 and gRPC handle streaming calls
-
zzarr
nice, very nice
-
|Pixel|
then you have protobuf
-
which is the serialization of your data
-
that is also binary
-
zzarr
my next question is, why havent I heard of this before? ;)
-
|Pixel|
you weren't paying enough attention ? :P
-
zzarr
I think you'er on to something ;)
-
rmz_la3lma has quit
-
rmz_la3lma joined the channel
-
hatmaker joined the channel
-
rmz_la3lma has quit
-
rmz_la3lma joined the channel
-
Vink has quit
-
chzz has quit
-
chzz joined the channel
-
hatmaker has quit
-
hatmaker joined the channel
-
hatmaker has quit
-
hatmaker joined the channel
-
rmz_la3lma has quit
-
pixelate joined the channel
-
rmz_la3lma joined the channel
-
rmz_la3lma has quit
-
rmz_la3lma joined the channel
-
ZergRushX joined the channel
-
ZergRushX has quit
-
rgrinberg joined the channel
-
tommmied joined the channel
-
rmz_la3lma has quit
-
Lighta
where is that cmake macro is defined ? protobuf_generate_cpp
-
k found it, is in FindProtobuf.cmake
-
hatmaker has quit
-
rmz_la3lma joined the channel
-
rmz_la3lma has quit
-
rmz_la3lma joined the channel
-
Vink joined the channel
-
rgrinberg joined the channel
-
Vink has quit
-
Vink joined the channel
-
Vink has quit
-
Vink joined the channel
-
Vink has quit
-
Vink joined the channel
-
Arun_ joined the channel
-
Arun_
Is there a way to get Request body in gRPC as byte stream/array?
-
.String() gives CompactTextString but how do you map it back to request or proto?
-
hatmaker joined the channel
-
Vink has quit
-
jasonkuhrt joined the channel
-
Arun_ has quit
-
hatmaker has quit
-
Vink joined the channel
-
Vink has quit
-
jasonkuhrt has quit
-
Vink joined the channel
-
ZooMonad joined the channel
-
ZooMonad
Any possibily to build a version of grpc-java that shades netty dependencies?
-
Zip_ joined the channel
-
Zip_ has quit
-
ZooMonad has quit
-
zzarr has quit
-
zzarr joined the channel
-
hatmaker joined the channel
-
Lighta
how can I define a service that only extern a return ? ie rpc GetNC (void) returns (NCInfo) {}
-
rgrinberg joined the channel
-
hatmaker has quit
-
jamwt joined the channel
-
Vink has quit
-
Vink joined the channel
-
|Pixel|
Lighta: use "Empty" for "void"