Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Quiesce Question?

Hello,

I am trying to understand the advantage of using quiesce for shutdown compared to just doing an undeploy. Prior to this being available, we have always undeploy all PUs, then shutdown agents. I realize the replication redo logs have to drain, but the same is true for quiesce. We don't use the "hot deployment" of code so I am curious if there is any other advantage to using it compared to what we have been doing. I tried experimenting with quiesce but quickly ran into issues because we haven't implemented QuiesceStateChangedListener yet in our code base. I am trying to understand if the additional work to implement this interface within the application is worth it compared to doing things as we have in the past.

Thanks

Rich

asked 2016-11-30 14:32:15 -0500

rich gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Undeploy without Quiesce will not allow you to perform relevant cleanup and other activity required prior PU termination.

It will not also block new clients from accessing the space while it is going through the undeploy process.

answered 2016-11-30 16:12:56 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

Hi Shay,

So by cleanup, are you talking about shutting down polling/event containers as well as anything from the application? How is this different than using DisposableBean interface to do this? That is how we have been doing it. It seems in order to get the Quiesce to work properly, we have to implement the same logic in the QuiesceStateChangedListener hook?

Thanks

Rich

answered 2016-12-01 09:05:39 -0500

rich gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-30 14:32:15 -0500

Seen: 2,450 times

Last updated: Dec 01 '16