Suggestion Needed: Integrating gRPC to Apache Mesos

38 views
Skip to first unread message

chh...@mesosphere.io

unread,
Jun 7, 2017, 1:58:19 PM6/7/17
to grpc.io
Hi all,

I'm from the Apache Mesos community and I'm new to gRPC.
I've asked around in the gRPC Gitter channel but got no response,
so please let me ask my question again here.

We're planning on supporting the Container Storage Interface which is gRPC-based.
Since Mesos itself already has its own actor-based programming library handling asynchronous http requests,
I was wondering if it is possible to write our own gRPC request/response encoder/decoder
so we can integrate gRPC into our event loop and implement our own gRPC client,
and if it is worthwhile doing this. I appreciate if anyone can share their opinion or experience on this.

Is there any update related to this issue?

Thanks!
Chun-Hung

Vijay Pai

unread,
Jun 7, 2017, 2:36:13 PM6/7/17
to chh...@mesosphere.io, grpc.io
Hi there,

For your first question, gRPC is fundamentally a wire format protocol specified in https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md . As long as you support that wire format, you can implement gRPC in many ways. There are community-created implementations like grpc/grpc-haskell that use the grpc/grpc core in their implementations, as well as google/dorusu-js that doesn't use the grpc core at all but just implements the wire protocol in its own way. That said, the gRPC team only supports the languages under the officially supported repositories.

As for the second question, there is currently no completion queue implementation for gRPC core that allows integration with an external event loop, but there has been interest from a variety of sources, so it's still an open feature request.

- Vijay


--
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/f26081cf-325f-41e3-8765-f1e8872eb582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages