You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by Zonghai Shang <yi...@apache.org> on 2018/08/29 06:17:41 UTC

Dubbo new rpc protocol - http2

Hi All,

Very happy to show the new dubbo rpc protocol - http2, new extended
protocols provide secure connections, multiplexed connections, asynchronous
parameter callbacks, etc.

http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
http2 example: https://github.com/zonghaishang/dubbo-example-http2.git

Best regards,
yiji

Re: Re: Dubbo new rpc protocol - http2

Posted by yuhang xiu <ca...@gmail.com>.
Nice work for dubbo's multi-language support!
I will help to check the demo and code.

秦金卫 <ki...@163.com> 于2018年8月29日周三 下午5:42写道:

> wonderful.<br/>a blog post for how to use may be a nice way to new users.
> At 2018-08-29 16:05:58, "Ian Luo" <ia...@gmail.com> wrote:
> >great, I will take a look.
> >
> >On Wed, Aug 29, 2018 at 2:17 PM Zonghai Shang <yi...@apache.org> wrote:
> >
> >> Hi All,
> >>
> >> Very happy to show the new dubbo rpc protocol - http2, new extended
> >> protocols provide secure connections, multiplexed connections,
> asynchronous
> >> parameter callbacks, etc.
> >>
> >> http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> >> http2 <https://github.com/zonghaishang/dubbo-rpc-http2.githttp2>
> example:
> >> https://github.com/zonghaishang/dubbo-example-http2.git
> >>
> >> Best regards,
> >> yiji
> >>
>

Re:Re: Dubbo new rpc protocol - http2

Posted by 秦金卫 <ki...@163.com>.
wonderful.<br/>a blog post for how to use may be a nice way to new users.
At 2018-08-29 16:05:58, "Ian Luo" <ia...@gmail.com> wrote:
>great, I will take a look.
>
>On Wed, Aug 29, 2018 at 2:17 PM Zonghai Shang <yi...@apache.org> wrote:
>
>> Hi All,
>>
>> Very happy to show the new dubbo rpc protocol - http2, new extended
>> protocols provide secure connections, multiplexed connections, asynchronous
>> parameter callbacks, etc.
>>
>> http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
>> http2 <https://github.com/zonghaishang/dubbo-rpc-http2.githttp2> example:
>> https://github.com/zonghaishang/dubbo-example-http2.git
>>
>> Best regards,
>> yiji
>>

Re: Dubbo new rpc protocol - http2

Posted by Ian Luo <ia...@gmail.com>.
great, I will take a look.

On Wed, Aug 29, 2018 at 2:17 PM Zonghai Shang <yi...@apache.org> wrote:

> Hi All,
>
> Very happy to show the new dubbo rpc protocol - http2, new extended
> protocols provide secure connections, multiplexed connections, asynchronous
> parameter callbacks, etc.
>
> http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> http2 <https://github.com/zonghaishang/dubbo-rpc-http2.githttp2> example:
> https://github.com/zonghaishang/dubbo-example-http2.git
>
> Best regards,
> yiji
>

Re: Dubbo new rpc protocol - http2

Posted by Jerrick Zhu <je...@apache.org>.
How to support gRPC on Dubbo?
On Thu, Sep 13, 2018 at 4:22 PM Zonghai Shang <yi...@apache.org> wrote:

> > Is encoder/decoder of http protocol Hessian?
>
> `dubbo http2` uses the codec of the netty http2 module, Codec reuses the
> `dubbocodec` function
>
> > Do we need to consider protobuf?
>
> `dubbo http2` supports all serialization protocols of the existing dubbo
> framework, dubbo does not currently support protobuf serialization
>
> > The relationship of http2 protocol and gRPC is what?
>
> `dubbo http2` and grpc are both proprietary protocols developed on top of
> the http2 protocol layer.
>
> yiji
>
> Jerrick Zhu <je...@apache.org> 于2018年9月13日周四 下午4:12写道:
>
> > Is encoder/decoder of http protocol Hessian?
> >
> > Do we need to consider protobuf?
> >
> > The relationship of http2 protocol and gRPC is what?
> >
> > On Thu, Aug 30, 2018 at 10:54 AM Ian Luo <ia...@gmail.com> wrote:
> >
> > > Folks,
> > >
> > > HTTP2 protocol support is quite critical to Dubbo. In the future, I
> hope
> > > this support can facilitate the hand hold device talks to back end
> > service
> > > in the future. Pls. review it, advise it. This work can be moved into
> the
> > > dubbo rpc project as a built-in extension.
> > >
> > > Thanks,
> > > -Ian.
> > >
> > >
> > > On Thu, Aug 30, 2018 at 10:16 AM Zonghai Shang <yi...@apache.org>
> wrote:
> > >
> > > > Hi Jun,
> > > >
> > > > Develop http2 protocol to solve the following problems:
> > > >
> > > > 1. Preparing for future service mesh. In fact, we have used the http2
> > > > protocol and service mesh matching internally. I wanted to use grpc's
> > > http2
> > > > protocol, and found it difficult to adapt to the internal large-scale
> > > > dubbo, and finally gave up.
> > > > 2. Some scenarios are expected to support secure connections.
> Currently
> > > > dubbo does not support this feature.
> > > > 3. Http2 supports long connection multiplexing, supporting
> > cross-language
> > > > if cross-language serialization is used.
> > > > 4. Http2 is compatible with most features of dubbo, such as
> > asynchronous
> > > > parameter callback, but currently does not support telnet
> > > >
> > > > I am looking forward to more dubbo enthusiasts to participate in it.
> > > >
> > > > Best regards,
> > > > yiji
> > > >
> > > > jun liu <ke...@gmail.com> 于2018年8月30日周四 上午9:44写道:
> > > >
> > > > > Hi Zonghai,
> > > > >
> > > > > Well done!
> > > > >
> > > > > I think we need a detailed proposal describing your design purpose
> > and
> > > > why
> > > > > Dubbo should support http2 or something like that worth
> explanation.
> > > That
> > > > > would make it easier for the community to express their opinions.
> > > > >
> > > > > Would you like to provide a proposal?
> > > > >
> > > > > Best regards,
> > > > > Jun
> > > > >
> > > > > > On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > Very happy to show the new dubbo rpc protocol - http2, new
> extended
> > > > > > protocols provide secure connections, multiplexed connections,
> > > > > asynchronous
> > > > > > parameter callbacks, etc.
> > > > > >
> > > > > > http2 protocol:
> > https://github.com/zonghaishang/dubbo-rpc-http2.git
> > > > > > http2 example:
> > > https://github.com/zonghaishang/dubbo-example-http2.git
> > > > > >
> > > > > > Best regards,
> > > > > > yiji
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: Dubbo new rpc protocol - http2

Posted by Zonghai Shang <yi...@apache.org>.
> Is encoder/decoder of http protocol Hessian?

`dubbo http2` uses the codec of the netty http2 module, Codec reuses the
`dubbocodec` function

> Do we need to consider protobuf?

`dubbo http2` supports all serialization protocols of the existing dubbo
framework, dubbo does not currently support protobuf serialization

> The relationship of http2 protocol and gRPC is what?

`dubbo http2` and grpc are both proprietary protocols developed on top of
the http2 protocol layer.

yiji

Jerrick Zhu <je...@apache.org> 于2018年9月13日周四 下午4:12写道:

> Is encoder/decoder of http protocol Hessian?
>
> Do we need to consider protobuf?
>
> The relationship of http2 protocol and gRPC is what?
>
> On Thu, Aug 30, 2018 at 10:54 AM Ian Luo <ia...@gmail.com> wrote:
>
> > Folks,
> >
> > HTTP2 protocol support is quite critical to Dubbo. In the future, I hope
> > this support can facilitate the hand hold device talks to back end
> service
> > in the future. Pls. review it, advise it. This work can be moved into the
> > dubbo rpc project as a built-in extension.
> >
> > Thanks,
> > -Ian.
> >
> >
> > On Thu, Aug 30, 2018 at 10:16 AM Zonghai Shang <yi...@apache.org> wrote:
> >
> > > Hi Jun,
> > >
> > > Develop http2 protocol to solve the following problems:
> > >
> > > 1. Preparing for future service mesh. In fact, we have used the http2
> > > protocol and service mesh matching internally. I wanted to use grpc's
> > http2
> > > protocol, and found it difficult to adapt to the internal large-scale
> > > dubbo, and finally gave up.
> > > 2. Some scenarios are expected to support secure connections. Currently
> > > dubbo does not support this feature.
> > > 3. Http2 supports long connection multiplexing, supporting
> cross-language
> > > if cross-language serialization is used.
> > > 4. Http2 is compatible with most features of dubbo, such as
> asynchronous
> > > parameter callback, but currently does not support telnet
> > >
> > > I am looking forward to more dubbo enthusiasts to participate in it.
> > >
> > > Best regards,
> > > yiji
> > >
> > > jun liu <ke...@gmail.com> 于2018年8月30日周四 上午9:44写道:
> > >
> > > > Hi Zonghai,
> > > >
> > > > Well done!
> > > >
> > > > I think we need a detailed proposal describing your design purpose
> and
> > > why
> > > > Dubbo should support http2 or something like that worth explanation.
> > That
> > > > would make it easier for the community to express their opinions.
> > > >
> > > > Would you like to provide a proposal?
> > > >
> > > > Best regards,
> > > > Jun
> > > >
> > > > > On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> > > > >
> > > > > Hi All,
> > > > >
> > > > > Very happy to show the new dubbo rpc protocol - http2, new extended
> > > > > protocols provide secure connections, multiplexed connections,
> > > > asynchronous
> > > > > parameter callbacks, etc.
> > > > >
> > > > > http2 protocol:
> https://github.com/zonghaishang/dubbo-rpc-http2.git
> > > > > http2 example:
> > https://github.com/zonghaishang/dubbo-example-http2.git
> > > > >
> > > > > Best regards,
> > > > > yiji
> > > >
> > > >
> > >
> >
>

Re: Dubbo new rpc protocol - http2

Posted by Jerrick Zhu <je...@apache.org>.
Is encoder/decoder of http protocol Hessian?

Do we need to consider protobuf?

The relationship of http2 protocol and gRPC is what?

On Thu, Aug 30, 2018 at 10:54 AM Ian Luo <ia...@gmail.com> wrote:

> Folks,
>
> HTTP2 protocol support is quite critical to Dubbo. In the future, I hope
> this support can facilitate the hand hold device talks to back end service
> in the future. Pls. review it, advise it. This work can be moved into the
> dubbo rpc project as a built-in extension.
>
> Thanks,
> -Ian.
>
>
> On Thu, Aug 30, 2018 at 10:16 AM Zonghai Shang <yi...@apache.org> wrote:
>
> > Hi Jun,
> >
> > Develop http2 protocol to solve the following problems:
> >
> > 1. Preparing for future service mesh. In fact, we have used the http2
> > protocol and service mesh matching internally. I wanted to use grpc's
> http2
> > protocol, and found it difficult to adapt to the internal large-scale
> > dubbo, and finally gave up.
> > 2. Some scenarios are expected to support secure connections. Currently
> > dubbo does not support this feature.
> > 3. Http2 supports long connection multiplexing, supporting cross-language
> > if cross-language serialization is used.
> > 4. Http2 is compatible with most features of dubbo, such as asynchronous
> > parameter callback, but currently does not support telnet
> >
> > I am looking forward to more dubbo enthusiasts to participate in it.
> >
> > Best regards,
> > yiji
> >
> > jun liu <ke...@gmail.com> 于2018年8月30日周四 上午9:44写道:
> >
> > > Hi Zonghai,
> > >
> > > Well done!
> > >
> > > I think we need a detailed proposal describing your design purpose and
> > why
> > > Dubbo should support http2 or something like that worth explanation.
> That
> > > would make it easier for the community to express their opinions.
> > >
> > > Would you like to provide a proposal?
> > >
> > > Best regards,
> > > Jun
> > >
> > > > On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > Very happy to show the new dubbo rpc protocol - http2, new extended
> > > > protocols provide secure connections, multiplexed connections,
> > > asynchronous
> > > > parameter callbacks, etc.
> > > >
> > > > http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> > > > http2 example:
> https://github.com/zonghaishang/dubbo-example-http2.git
> > > >
> > > > Best regards,
> > > > yiji
> > >
> > >
> >
>

Re: Dubbo new rpc protocol - http2

Posted by Ian Luo <ia...@gmail.com>.
Folks,

HTTP2 protocol support is quite critical to Dubbo. In the future, I hope
this support can facilitate the hand hold device talks to back end service
in the future. Pls. review it, advise it. This work can be moved into the
dubbo rpc project as a built-in extension.

Thanks,
-Ian.


On Thu, Aug 30, 2018 at 10:16 AM Zonghai Shang <yi...@apache.org> wrote:

> Hi Jun,
>
> Develop http2 protocol to solve the following problems:
>
> 1. Preparing for future service mesh. In fact, we have used the http2
> protocol and service mesh matching internally. I wanted to use grpc's http2
> protocol, and found it difficult to adapt to the internal large-scale
> dubbo, and finally gave up.
> 2. Some scenarios are expected to support secure connections. Currently
> dubbo does not support this feature.
> 3. Http2 supports long connection multiplexing, supporting cross-language
> if cross-language serialization is used.
> 4. Http2 is compatible with most features of dubbo, such as asynchronous
> parameter callback, but currently does not support telnet
>
> I am looking forward to more dubbo enthusiasts to participate in it.
>
> Best regards,
> yiji
>
> jun liu <ke...@gmail.com> 于2018年8月30日周四 上午9:44写道:
>
> > Hi Zonghai,
> >
> > Well done!
> >
> > I think we need a detailed proposal describing your design purpose and
> why
> > Dubbo should support http2 or something like that worth explanation. That
> > would make it easier for the community to express their opinions.
> >
> > Would you like to provide a proposal?
> >
> > Best regards,
> > Jun
> >
> > > On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> > >
> > > Hi All,
> > >
> > > Very happy to show the new dubbo rpc protocol - http2, new extended
> > > protocols provide secure connections, multiplexed connections,
> > asynchronous
> > > parameter callbacks, etc.
> > >
> > > http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> > > http2 example: https://github.com/zonghaishang/dubbo-example-http2.git
> > >
> > > Best regards,
> > > yiji
> >
> >
>

Re: Dubbo new rpc protocol - http2

Posted by Zonghai Shang <yi...@apache.org>.
Hi Jun,

Develop http2 protocol to solve the following problems:

1. Preparing for future service mesh. In fact, we have used the http2
protocol and service mesh matching internally. I wanted to use grpc's http2
protocol, and found it difficult to adapt to the internal large-scale
dubbo, and finally gave up.
2. Some scenarios are expected to support secure connections. Currently
dubbo does not support this feature.
3. Http2 supports long connection multiplexing, supporting cross-language
if cross-language serialization is used.
4. Http2 is compatible with most features of dubbo, such as asynchronous
parameter callback, but currently does not support telnet

I am looking forward to more dubbo enthusiasts to participate in it.

Best regards,
yiji

jun liu <ke...@gmail.com> 于2018年8月30日周四 上午9:44写道:

> Hi Zonghai,
>
> Well done!
>
> I think we need a detailed proposal describing your design purpose and why
> Dubbo should support http2 or something like that worth explanation. That
> would make it easier for the community to express their opinions.
>
> Would you like to provide a proposal?
>
> Best regards,
> Jun
>
> > On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> >
> > Hi All,
> >
> > Very happy to show the new dubbo rpc protocol - http2, new extended
> > protocols provide secure connections, multiplexed connections,
> asynchronous
> > parameter callbacks, etc.
> >
> > http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> > http2 example: https://github.com/zonghaishang/dubbo-example-http2.git
> >
> > Best regards,
> > yiji
>
>

Re: Dubbo new rpc protocol - http2

Posted by jun liu <ke...@gmail.com>.
Hi Zonghai,

Well done!

I think we need a detailed proposal describing your design purpose and why Dubbo should support http2 or something like that worth explanation. That would make it easier for the community to express their opinions. 

Would you like to provide a proposal?

Best regards,
Jun

> On 29 Aug 2018, at 14:17, Zonghai Shang <yi...@apache.org> wrote:
> 
> Hi All,
> 
> Very happy to show the new dubbo rpc protocol - http2, new extended
> protocols provide secure connections, multiplexed connections, asynchronous
> parameter callbacks, etc.
> 
> http2 protocol: https://github.com/zonghaishang/dubbo-rpc-http2.git
> http2 example: https://github.com/zonghaishang/dubbo-example-http2.git
> 
> Best regards,
> yiji