Does Tigase support hot deployment?

Igor Khomenko
Added over 4 years ago

Is it possible to replace some parts of Tigase without server restart?

For example, I have next parts:

  • tigase-server

  • tigase-muc

  • some custom plugins which process stanza

Is it possible to replace all these parts on the fly, without server restart?

I found some OSGI examples:

Is it something that people can use for such purpose?

Replies (1)


Added by Artur Hefczyc TigaseTeam over 4 years ago

Tigase does support OSGi which allows you for a hot code swap, but it is really still an experimental feature. So you can try it but you do it at your own risk. It is not yet used on any production environment.

However, besides OSGi there are a few other options to update your code without service interruption:

  1. Admin ad-hoc commands - you can of course update/reload/create new at run-time and no system restart is needed

  2. Components - if you deploy components as external components, then, you can update them and restart without affecting the main server

  3. In a cluster mode - you can restart one cluster node without restarting other node. You can organize the whole upgrade procedure, that it will be not noticeable to your users.