Contribution Topics (especially Java/Android)

118 views
Skip to first unread message

m...@tailored-apps.com

unread,
Dec 20, 2016, 7:18:32 AM12/20/16
to grpc.io
Hi,

I'm a master student and I would like to work on gRPC within the scope of my master thesis.
Are there any areas in gRPC (especially Java or Android related) which would need contributions?
Could you give me some hints?

Thank you in advance

Carl Mastrangelo

unread,
Jan 3, 2017, 7:14:08 PM1/3/17
to grpc.io, m...@tailored-apps.com
Hi, 

Yes, we are definitely looking for help!  Did you have something in mind you were interested in?  We have a (albeit stale) list of GSoC ideas here: https://github.com/grpc/grpc/blob/master/summerofcode/ideas.md

m...@tailored-apps.com

unread,
Jan 7, 2017, 1:27:02 PM1/7/17
to grpc.io, m...@tailored-apps.com
Hi,

Thank you for the link to the list. I was also thinking of developing a nginx module which would allow to load balance gRPC traffic. Do you know what would be
the basic tasks of such a module? As far as I know the current problem with nginx is that it doesn't support HTTP/2 to the backend when proxying traffic.

Carl Mastrangelo

unread,
Jan 9, 2017, 1:12:52 PM1/9/17
to grpc.io, m...@tailored-apps.com, Louis Ryan
I recall there being some work on that *somewhere* but I don't recall the status.  

+Louis who is more familiar than I am with it.

Louis Ryan

unread,
Jan 10, 2017, 1:00:03 PM1/10/17
to Carl Mastrangelo, grpc.io, m...@tailored-apps.com, Piotr Sikora
+cc piotr who is doing work to support 'upstream' http2 in nginx which would by implication support GRPC so we're pretty well covered there. If you're interested in doing something with proxies you should take a look at 


with whom we're doing some work too. If you want something ambitious, implementing QUIC support for the client connection in one of these proxies would be quite meaty.

Outside of proxies there's lots of other stuff that can be done for GRPC - performance, compression, tooling, other serialization formats (e.g. Thrift), ...

--
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+unsubscribe@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/0b9e5e7a-e196-4855-a395-485b01426d86%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

m...@tailored-apps.com

unread,
Jan 23, 2017, 11:21:06 AM1/23/17
to grpc.io, not...@google.com, m...@tailored-apps.com, piotr...@google.com
Hi,

Thank you all for your valuable input. So I decided to develop a Wireshark dissector for gRPC.
I was researching on the development of dissectors and have some questions regarding the
design and functionality of the gRPC dissector. Maybe you can answer them or know somebody
who can answer them.
  • Which language should be used to develop it? It is possible to develop dissectors either in C or Lua.
  • The dissector wouldn't make sense if the payload couldn't be decoded. So the IDL file has to be provided somehow to Wireshark. One approach would be to generate the dissector from the IDL file. A similar approach was chosen for CORBA dissectors (https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectIdl2wrs.html). What would be the best approach for the gRPC dissector?
  • gRPC is very flexible and can also (according to https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md) transport data encoded in formats other than protocol buffers. What would be the best way to handle other formats? However, I think its better to focus on protocol buffers first.


Am Dienstag, 10. Januar 2017 19:00:03 UTC+1 schrieb Louis Ryan:
+cc piotr who is doing work to support 'upstream' http2 in nginx which would by implication support GRPC so we're pretty well covered there. If you're interested in doing something with proxies you should take a look at 


with whom we're doing some work too. If you want something ambitious, implementing QUIC support for the client connection in one of these proxies would be quite meaty.

Outside of proxies there's lots of other stuff that can be done for GRPC - performance, compression, tooling, other serialization formats (e.g. Thrift), ...
On Mon, Jan 9, 2017 at 10:12 AM, 'Carl Mastrangelo' via grpc.io <grp...@googlegroups.com> wrote:
I recall there being some work on that *somewhere* but I don't recall the status.  

+Louis who is more familiar than I am with it.

On Saturday, January 7, 2017 at 10:27:02 AM UTC-8, m...@tailored-apps.com wrote:
Hi,

Thank you for the link to the list. I was also thinking of developing a nginx module which would allow to load balance gRPC traffic. Do you know what would be
the basic tasks of such a module? As far as I know the current problem with nginx is that it doesn't support HTTP/2 to the backend when proxying traffic.

Am Mittwoch, 4. Januar 2017 01:14:08 UTC+1 schrieb Carl Mastrangelo:
Hi, 

Yes, we are definitely looking for help!  Did you have something in mind you were interested in?  We have a (albeit stale) list of GSoC ideas here: https://github.com/grpc/grpc/blob/master/summerofcode/ideas.md

On Tuesday, December 20, 2016 at 4:18:32 AM UTC-8, m...@tailored-apps.com wrote:
Hi,

I'm a master student and I would like to work on gRPC within the scope of my master thesis.
Are there any areas in gRPC (especially Java or Android related) which would need contributions?
Could you give me some hints?

Thank you in advance

--
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.

Varun Talwar

unread,
Feb 14, 2017, 6:52:36 PM2/14/17
to grpc.io, not...@google.com, m...@tailored-apps.com, piotr...@google.com
You could write it in C and I would start with protocol buffers. 
May be worth checking if those are any good.

Jan Heylen

unread,
Feb 15, 2017, 2:12:45 AM2/15/17
to Varun Talwar, grpc.io, not...@google.com, m...@tailored-apps.com, piotr...@google.com
for pure protobuf (v2), so without grpc library, I've been successfully using the lua dissector mentioned: 

IMHO it would make sense to encapsulate it in a http2 dissector, that does the uncompressing of the protobuf payload, and serve it to this protobuf dissector. You would require to update it a bit for proto3, as stated in their readme:
"Support Protobuf v3. There isn't much difference between v2 and v3 in terms of on-the-wire encoding. Mostly it's just that it's always in packed encoding mode, and there's a new "map" type, which is really just encoded like a message. So I think adding v3 support might be easy."

There is also an interesting piece of code to be found here:

Where you can see how one dissector  (e.g. a http2/grpc dissector ;-) ) calls upon another one:
    local dissector = DissectorTable.get("protobuf.message"):get_dissector("<protobuf message type>")
    dissector:call(tvb(lppb.prefs.prefix_size):tvb(), pinfo, subtree)

br,

Jan


To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.

To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
Reply all
Reply to author
Forward
0 new messages