gRPC inproc transport

132 views
Skip to first unread message

vadim....@gmail.com

unread,
Dec 21, 2018, 11:46:21 PM12/21/18
to grpc.io
Hello,

This blog post https://grpc.io/blog/grpc-stacks mentions that it's possible to use In-Process transport with C# library. What's the right usage of this transport from wrapping languages? Is this transport built-in or it's necessary to recompile the library to enable it? I couldn't find examples.

Thanks in advance.

Jan Tattermusch

unread,
Jan 2, 2019, 3:35:23 AM1/2/19
to grpc.io
Hey, the API for using inproc channels is currently not exposed in C#.

I filed https://github.com/grpc/grpc.github.io/issues/803 to point out this inaccuracy.

Carl Mastrangelo

unread,
Jan 3, 2019, 1:28:48 PM1/3/19
to grpc.io
I am the author of the blog post.  The pictures included are an approximation of the truth, which would otherwise be very complicated.  I tried to convey as much information as possible without being too inaccurate, but as you noticed it isn't right for C# (or any wrapped language except for C++).

vadim....@gmail.com

unread,
Jan 3, 2019, 2:05:13 PM1/3/19
to grpc.io
Thanks for explanation.

Are there any plans to expose this api to wrapped languages?

Jan Tattermusch

unread,
Jan 9, 2019, 1:02:29 PM1/9/19
to vadim....@gmail.com, grpc.io
On Thu, Jan 3, 2019 at 8:05 PM <vadim....@gmail.com> wrote:
Thanks for explanation.

Are there any plans to expose this api to wrapped languages?

Not that I know of, but feel free to experiment with exposing the API and share your results. Contributions are always welcome! 
--
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.
To post to this group, send email to grp...@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/4f142cde-ea37-4f77-8a28-a7fb393fa4a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jan

Benjamin Krämer

unread,
May 29, 2019, 6:54:00 AM5/29/19
to grpc.io
It seems this got lost with moving away from grpc.github.io. I stumbled over it myself and wasted some time searching for it since I thought it's finally possible.

I made a thread discussing this already back in 2016: https://groups.google.com/forum/#!topic/grpc-io/3KRk-72cqyE

We used a workaround for it in the meantime, but it would still be nice to be able to just shortcut it in those cases using inproc. I might look into it again in July or August.

Benjamin Krämer

unread,
May 29, 2019, 7:06:37 AM5/29/19
to grpc.io
And proposed changing it to C++ in the example since that language supports inproc as PR: https://github.com/grpc/grpc.io/pull/28
Reply all
Reply to author
Forward
0 new messages