aut-: Sorry, I left the office. OkHttp is recommended for Android, Netty for normal desktops/servers.
aut
ejona okay, thought as much. we are using it for android, but the issue above was for server-to-server communication
s/it/okhttp
ejona
aut: I was just mentioning OkHttp because it the functionality will be similar in Netty (once it comes)
aut
ejona ah, cool. so for now, kernel keepalives = best solution?
ejona
aut: kernel keepalives are great, although can you enable them by default?
aut
ejona: what do you mean? in this case, the app is on a single-purpose server, so we can change the kernel to match the app's needs.
ejona
aut: I thought keepalive needs to be enabled on a per-socket basis. You can configure the interval and time, but I didn't think it would activate.
aut
ejona: oh, good point. obviously you know more than me. i just assumed it would be active :). I suppose I can specify a custom channelType which sets the channel config option to enable it?
ejona: i have been on fbsd for so long, i didn't realize linux didn't have the option. (freebsd has net.inet.tcp.always_keepalive sysctl)
ejona
That's a good sysctl. It is explicitly against the RFC, but really, we want such a thing.
aut
too bad we've started switching everything to linux :/
ejona
Using custom channel type is a bit hacky, but probably gets the job done.
I don't see anything better :)
aut
hacky is my middle name
ejona
I'm not sure if this is a symptom that grpc-java should be allowing you to specify Netty channel options, or just a symptom that I need to get on the ball and finish keepalive.
tommmied joined the channel
... probably the former, since most people can't change the kernel's settings for just one app.
s/former/latter/
aut
yea, app-handled keepalive is always better i think
ejona
C can configure keepalive pretty well, and Go okay, but not really Java.
Vink joined the channel
hatmaker has quit
rmz_la3lma has quit
Vink has quit
Vink joined the channel
Vink has quit
Vink joined the channel
rmz_la3lma joined the channel
rmz_la3lma has quit
rmz_la3lma joined the channel
rmz_la3lma has quit
circ-user-yYwnZ has quit
Vink has quit
Vink joined the channel
Vink has quit
Vink joined the channel
hatmaker joined the channel
Vink has quit
Vink joined the channel
hatmaker has quit
Vink has quit
Vink joined the channel
rmz_la3lma joined the channel
Vink has quit
rmz_la3lma has quit
rmz_la3lma joined the channel
hatmaker joined the channel
circ-user-YJ2VI joined the channel
circ-user-YJ2VI
i aw on the main grpc web page a few days ago that web support is planned. It was removed from the web page however. I was wondering if their is a github repo where i can try out the web based stuff and help with bug fixing.
Blkt joined the channel
circ-user-YJ2VI has quit
rmz_la3lma has quit
mflow joined the channel
rmalta joined the channel
rmalta
Hi all
I had progress on my thing with the Google Could integration with gRPC
did anyone have some experience with it
rmalta has quit
rmz_la3lma joined the channel
rmz_la3lma has quit
mflow has quit
rmz_la3lma joined the channel
rmz_la3lma has quit
rmz_la3lma joined the channel
rgrinberg joined the channel
zzarr joined the channel
zzarr
hello!
I wish to get help understanding the architecture of grpc so that I can build a project using it
rmz_la3lma has quit
tommmied joined the channel
dgryski joined the channel
Caesar has quit
Thinh has quit
rgrinberg joined the channel
tommmied_ joined the channel
Caesar joined the channel
Thinh joined the channel
zls
is there any way to return a message that contains a stream?
like perhaps it has "count" and then the stream proper?
ejona
zzarr: Anything specific? It is basically point-to-point, with features able to be layered on top. There are bigger features like client-side load balancing, but I'm not sure what would help you.
zls: No. An RPC is either streaming or not. You can't return a stream.
zls
hmm alright
hatmaker has quit
hatmaker joined the channel
hatmaker has quit
Vink joined the channel
Vink has quit
Vink joined the channel
Vink has quit
Vink joined the channel
Vink has quit
Vink joined the channel
Lecherito joined the channel
Vink has quit
Vink joined the channel
Vink has quit
Vink joined the channel
Lighta
heya, quick question does grpc keep alive some remote object ? is there any policy for this ?