Generally, it is not recommended to set connections in the provider, so it is 
easy to connect to the storm when there are too many upstream consumers, so we 
generally set the connection limit (that is, accepts) in the provider, and the 
number of connections can be set on the consumer side as needed.


??????????????provider????connections????????????consumer??????????????????????????????????provider????????????????accepts????????consumer??????????????????connections????




------------------ ???????? ------------------
??????: "Ian Luo"<ian....@gmail.com>;
????????: 2018??11??9??(??????) ????10:37
??????: "dev"<dev@dubbo.apache.org>;
????: "dev"<d...@dubbo.incubator.apache.org>; 
????: Re: dubbo????????????



+1, total agree with Jason's suggestion.

On Fri, Nov 9, 2018 at 5:16 AM Jason Joo <hblz...@163.com> wrote:

> Hi,
>
> ????connection??????????????????1????????????connection=N??????????????????????????????provider??????provider??????????????????????????N??????????????????????consumer??N
> * n??????????provider????N * m
>
> ??????
> n - provider??
> m - ??????
>
> ????????method/service??????????????????????????????????????
>
> best regards,
>
> Jason
>
> > On Nov 8, 2018, at 11:54, Zonghai Shang <y...@apache.org> wrote:
> >
> > Hi,
> >
> > ??????????????????????????????????
> >
> > 1. 
> > dubbo????????????????????????tcp??????????????????NettyServerWork??????client
> > io??????netty????????chanel??????eventloop????????????????????????
> >
> > 2. ??????????client??????????????connections=3 ????4??5??????????????
> >
> > ?????? netty??????????????tcp??????????????children eventloop??
> >
> > -yiji
> >
> > ???? <402264...@qq.com> ??2018??11??7?????? ????7:29??????
> >
> >> ??????
> >>   ????????????????????????????????????????????????
> >>
> ????????iothreads??????cpu????+1??????????????????1??NettyClientWoker??3??NettyServerWork??1??NettyServerBoss????????????????????????????NettyClientWoker??????????NettyServerWork????????CPU????????????Netty??????????Boss??????select
> >>
> work??????????work??run??????????NettyServerWork????cpu??????????????????????????????????NettyServerWork
> >> cpu??????????????????????NettyServerWork??????????cpu??????????????????RUNNABLE??????
> >>
> >> PS??????????4??cpu??????????dubbo??????2.6.2??dubbo????????????
> >>
> >>
> >>
> >>
>
>

Reply via email to