Re: Is there a way to change the heartbeat timer ?

2022-03-23 Thread Daniel SAWAN
Hi, i am using Dubbo3 without kafka, on direct connection.

In my case A will always call B. B will never call A.
So if I restart A it will automatically reestablish connection to B and no
problem here.

The problem comes if i update B then 2 things can happen :
- A try to establish connection to B before the heartbeat > Error for first
request, then ok for the following request.
- A try to establish connection to B after the heartbeat > no problem

My problem is the first case actually.

Le jeu. 24 mars 2022 à 03:40, Jun Liu  a écrit :

> Which version of Dubbo were you using?
>
> I am not sure if it’s because:
> 1. A (the consumer) had delay on receiving the address update of B
> 2. A received the address of B(the provider) immediately, it’s just the
> re-connecting costs lots of time
>
> Jun
>
> > On Mar 23, 2022, at 11:38 PM, Daniel SAWAN 
> wrote:
> >
> > Hello,
> >
> > I actually have a problem of communication between 2 servers.
> >
> > I have 2 servers A and B linked with dubbo. If  A or B is restarted then
> > the connection between them can take between 20-30 seconds to be
> > established if I do nothing.
> >
> > Is there a way to configure the heartbeat and to lower it  ?
> >
> > Thanks for your help !
>
>


Re: Is there a way to change the heartbeat timer ?

2022-03-23 Thread Jun Liu
Which version of Dubbo were you using?

I am not sure if it’s because:
1. A (the consumer) had delay on receiving the address update of B
2. A received the address of B(the provider) immediately, it’s just the 
re-connecting costs lots of time

Jun

> On Mar 23, 2022, at 11:38 PM, Daniel SAWAN  wrote:
> 
> Hello,
> 
> I actually have a problem of communication between 2 servers.
> 
> I have 2 servers A and B linked with dubbo. If  A or B is restarted then
> the connection between them can take between 20-30 seconds to be
> established if I do nothing.
> 
> Is there a way to configure the heartbeat and to lower it  ?
> 
> Thanks for your help !



Is there a way to change the heartbeat timer ?

2022-03-23 Thread Daniel SAWAN
Hello,

I actually have a problem of communication between 2 servers.

I have 2 servers A and B linked with dubbo. If  A or B is restarted then
the connection between them can take between 20-30 seconds to be
established if I do nothing.

Is there a way to configure the heartbeat and to lower it  ?

Thanks for your help !