Hysun wrote:Hi Hysun He,
We know EP (EntryProcessor) are running in the server side's JVMs. In the development phase, most commonly after we changed EP's logic, we just restart the cluster to take it effect. However that's not a convenient way in production environment. Is there a way to upgrade the EP in the fly without the need of restarting coherence nodes? Or is there any way to upgrade EP without service outage?
Thanks in advance,
- Hysun He
Hysun wrote:Hi Hysun,
Yes, implement a classloader to deploy/reload EP seems work. But it seems there are some other customization work to be done regarding to the version control. During/after the upgrade, some works running against the "old" version EP may still be in-progress, at the same time, new requests are distributed to the "new" version EP. It seems we need to employ a mechanism to ensure the smooth transition from the old version to new version. Any hints on this?