You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by Tien Dat PHAN <tp...@gmail.com> on 2019/09/23 08:50:36 UTC

Gracefully unexporting/passivating the exported services

Dear experts,

We are using Dubbo for exporting our services to outside clients.
During the execution, we may have to switch some nodes into maintenance mode (for maintenance purposes of course), which means those nodes are not serving requests until they are switched back to normal mode.

Our question is: what is the recommended procedure to gracefully put an exported service into maintenance mode, without causing a perturbation on the client side, which may still maintain an open connection with the exported service?

Best regards
Tien Dat PHAN

Re: Gracefully unexporting/passivating the exported services

Posted by Tien Dat PHAN <tp...@gmail.com>.
Hi,

Indeed it is :p 
I just wanted to double check with you if such implementation already exists :)

Thanks again

Best regards
Tien Dat

On 2019/09/24 11:33:01, Jason Joo <hb...@163.com> wrote: 
> Hi, tien
> 
> So far as I know there wasn't.
> In my opinion it should not be complicated to implement similar function in such scenario. 
> So the road is under your feet, haha
> 
> best regards,
> 
> Jason
> 
> > On Sep 24, 2019, at 15:25, Tien Dat PHAN <tp...@gmail.com> wrote:
> > 
> > Dear Jason,
> > 
> > Thank you for your interesting material.
> > This would answer the need of our use case.
> > Just a small question is: Does Dubbo provide a JAVA API for such QoS features?
> > 
> > Best
> > Tien Dat
> > 
> > On 2019/09/24 00:50:58, Jason Joo <hb...@163.com> wrote: 
> >> Hi Tien
> >> 
> >> You can refer to QOS feature of DUBBO.
> >> 
> >> QoS's Parameters: http://dubbo.apache.org/en-us/docs/user/references/qos.html <http://dubbo.apache.org/en-us/docs/user/references/qos.html>
> >> Usage: https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html <https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html>
> >> 
> >> 
> >> best regards,
> >> 
> >> Jason
> >> 
> >>> On Sep 23, 2019, at 16:50, Tien Dat PHAN <tp...@gmail.com> wrote:
> >>> 
> >>> Dear experts,
> >>> 
> >>> We are using Dubbo for exporting our services to outside clients.
> >>> During the execution, we may have to switch some nodes into maintenance mode (for maintenance purposes of course), which means those nodes are not serving requests until they are switched back to normal mode.
> >>> 
> >>> Our question is: what is the recommended procedure to gracefully put an exported service into maintenance mode, without causing a perturbation on the client side, which may still maintain an open connection with the exported service?
> >>> 
> >>> Best regards
> >>> Tien Dat PHAN
> >> 
> >> 
> 
> 

Re: Gracefully unexporting/passivating the exported services

Posted by Jason Joo <hb...@163.com>.
Hi, tien

So far as I know there wasn't.
In my opinion it should not be complicated to implement similar function in such scenario. 
So the road is under your feet, haha

best regards,

Jason

> On Sep 24, 2019, at 15:25, Tien Dat PHAN <tp...@gmail.com> wrote:
> 
> Dear Jason,
> 
> Thank you for your interesting material.
> This would answer the need of our use case.
> Just a small question is: Does Dubbo provide a JAVA API for such QoS features?
> 
> Best
> Tien Dat
> 
> On 2019/09/24 00:50:58, Jason Joo <hb...@163.com> wrote: 
>> Hi Tien
>> 
>> You can refer to QOS feature of DUBBO.
>> 
>> QoS's Parameters: http://dubbo.apache.org/en-us/docs/user/references/qos.html <http://dubbo.apache.org/en-us/docs/user/references/qos.html>
>> Usage: https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html <https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html>
>> 
>> 
>> best regards,
>> 
>> Jason
>> 
>>> On Sep 23, 2019, at 16:50, Tien Dat PHAN <tp...@gmail.com> wrote:
>>> 
>>> Dear experts,
>>> 
>>> We are using Dubbo for exporting our services to outside clients.
>>> During the execution, we may have to switch some nodes into maintenance mode (for maintenance purposes of course), which means those nodes are not serving requests until they are switched back to normal mode.
>>> 
>>> Our question is: what is the recommended procedure to gracefully put an exported service into maintenance mode, without causing a perturbation on the client side, which may still maintain an open connection with the exported service?
>>> 
>>> Best regards
>>> Tien Dat PHAN
>> 
>> 


Re: Gracefully unexporting/passivating the exported services

Posted by Tien Dat PHAN <tp...@gmail.com>.
Dear Jason,

Thank you for your interesting material.
This would answer the need of our use case.
Just a small question is: Does Dubbo provide a JAVA API for such QoS features?

Best
Tien Dat

On 2019/09/24 00:50:58, Jason Joo <hb...@163.com> wrote: 
> Hi Tien
> 
> You can refer to QOS feature of DUBBO.
> 
> QoS's Parameters: http://dubbo.apache.org/en-us/docs/user/references/qos.html <http://dubbo.apache.org/en-us/docs/user/references/qos.html>
> Usage: https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html <https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html>
> 
> 
> best regards,
> 
> Jason
> 
> > On Sep 23, 2019, at 16:50, Tien Dat PHAN <tp...@gmail.com> wrote:
> > 
> > Dear experts,
> > 
> > We are using Dubbo for exporting our services to outside clients.
> > During the execution, we may have to switch some nodes into maintenance mode (for maintenance purposes of course), which means those nodes are not serving requests until they are switched back to normal mode.
> > 
> > Our question is: what is the recommended procedure to gracefully put an exported service into maintenance mode, without causing a perturbation on the client side, which may still maintain an open connection with the exported service?
> > 
> > Best regards
> > Tien Dat PHAN
> 
> 

Re: Gracefully unexporting/passivating the exported services

Posted by Jason Joo <hb...@163.com>.
Hi Tien

You can refer to QOS feature of DUBBO.

QoS's Parameters: http://dubbo.apache.org/en-us/docs/user/references/qos.html <http://dubbo.apache.org/en-us/docs/user/references/qos.html>
Usage: https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html <https://dubbo.apache.org/en-us/blog/introduction-to-dubbo-qos.html>


best regards,

Jason

> On Sep 23, 2019, at 16:50, Tien Dat PHAN <tp...@gmail.com> wrote:
> 
> Dear experts,
> 
> We are using Dubbo for exporting our services to outside clients.
> During the execution, we may have to switch some nodes into maintenance mode (for maintenance purposes of course), which means those nodes are not serving requests until they are switched back to normal mode.
> 
> Our question is: what is the recommended procedure to gracefully put an exported service into maintenance mode, without causing a perturbation on the client side, which may still maintain an open connection with the exported service?
> 
> Best regards
> Tien Dat PHAN