The gRPC-on-gRPC tunnel including the reverse-tunnel use-case is described
in this PR https://github.com/grpc/grpc-java/pull/3987 . You may want to
look into it.

On Wed, Feb 9, 2022 at 10:37 AM 'Yuri Golobokov' via grpc.io <
grpc-io@googlegroups.com> wrote:

> Normally gRPC client creates its own TCP connection(s) to communicate with
> a gRPC server.
> I am not aware of an option to reuse some existing TCP connection.
> Can you provide more details on problems you are trying to solve? What is
> the reasoning behind this architecture? Why do you want gRPC server to be
> on clients?
>
> On Sunday, February 6, 2022 at 10:04:43 PM UTC-8 karraka...@gmail.com
> wrote:
>
>> [image: Screenshot 2022-02-07 at 11.29.25.png]
>>
>> Hi All,
>>
>> Above is the architecture I am trying to achieve. I already have a TCP
>> connection, as shown, between TCP Server and Client. I am trying to
>> communicate GRPC client present in public network using either Django/Flask
>> to GRPC Server present in TCP Client.
>>
>> As mentioned I can have multiple clients connected to server.
>>
>> I am trying to figure out how the GRPC client communicates to GRPC
>> server.
>>
>> One thing is, as GRPC uses TCP, can I use pre-established connection
>> between TCP server and TCP Client for. GRPC communication (OR) are there
>> any other options.
>>
>> Any suggestions would be helpful.
>>
>> Thanks.
>>
>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/4b950aef-059b-4efe-91b8-3f528bcfa86bn%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/4b950aef-059b-4efe-91b8-3f528bcfa86bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2BPad6j0X4%3DeVhe0iVm10dXpYANvQ7k5u82P24a_7QF5cT1fCA%40mail.gmail.com.

Reply via email to