[ 
https://issues.apache.org/jira/browse/DUBBO-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812130#comment-16812130
 ] 

Jun Liu commented on DUBBO-37:
------------------------------

Hi [~Trafalgar Ricardo Lu],

This task does not have to bind to AbstractProxyProtocol and HttpHandler, how 
ThriftProtocol integrates with Thrift can be more suitable for reference.

Two basic goals to keep in mind:
1. When exporting Dubbo service
   * First, we should start the standard gRPC Server if we are not going to 
start our own server.
   * Then, we should register the service implementation to gRPC (gRPC's 
HandlerRegistry for example)
2. When referring Dubbo service, we should make sure the Dubbo proxy delegates 
to a standard gRPC client.


I'm also new to this topic, I will spend some time on it, and hopefully, I 
would be able to share some of my own thoughts by the end of this week. 

> Supporting gRPC Protocol.
> -------------------------
>
>                 Key: DUBBO-37
>                 URL: https://issues.apache.org/jira/browse/DUBBO-37
>             Project: Apache Dubbo
>          Issue Type: Task
>            Reporter: Jun Liu
>            Priority: Major
>              Labels: GSoC2019
>
> gRPC is a very popular RPC framework built on top of the HTTP/2 protocol. We 
> can try to integrate gRPC with Dubbo and make it one of the many third-party 
> RPC protocols supported by Dubbo, just like Hessian 
> ([code|https://github.com/apache/incubator-dubbo/tree/master/dubbo-rpc/dubbo-rpc-hessian],
>  
> [doc|http://dubbo.apache.org/en-us/docs/user/references/protocol/hessian.html])
>  and Thrift 
> ([code|https://github.com/apache/incubator-dubbo/tree/master/dubbo-rpc/dubbo-rpc-thrift],
>  
> [doc|http://dubbo.apache.org/en-us/docs/user/references/protocol/thrift.html]).
> - Make gRPC easy to use: allowing developers to program with interface 
> directly, calling remote gRPC services like calling local services
> - Leverage service governance features provided by Dubbo: Service Discovery, 
> Load Balancing and Traffic Management.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to