Hi Eric,

Thank you so much for your reply!
We have some Solaris machine, in which seem we cannot use netty, so we 
would like to switch to okhttp.


On Monday, August 20, 2018 at 7:58:08 AM UTC-7, Eric Anderson wrote:
>
> grpc-okhttp works fine on regular, non-Android Java versions. Security is 
> different than grpc-netty, so you can't use netty-tcnative. You can use 
> Java 9+ or Conscrypt. If using Conscrypt, you should install it as the 
> default provider with Security.insertProviderAt(Conscrypt.newProvider(), 
> 1); before calling grpc. Netty uses non-blocking I/O via NIO whereas 
> OkHttp uses blocking I/O with Input/OutputStreams. Thus each TCP connection 
> with OkHttp will use 1-2 threads.
>
> Why are you interested in using okhttp with non-Android?
>
> On Thu, Aug 16, 2018 at 2:56 PM Grpc learner <x...@autonomic.ai 
> <javascript:>> wrote:
>
>> If we are not building the Android software but regular java maven 
>> project for PC/Linux
>> what is different?
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com <javascript:>.
>> To post to this group, send email to grp...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/1bd39209-2854-42d4-b077-3c94dfbb0e77%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/1bd39209-2854-42d4-b077-3c94dfbb0e77%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/eba63db7-fff2-4618-a005-60d73669ca19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to