You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Luisa Rossi <lu...@yahoo.com> on 2012/09/15 11:44:39 UTC
help: deployment, update without downtime
I would like to ask experienced osgi developers if they can help me with a following problem: I would like to accelerate the process of putting the updated version of my app (pathes and/or new features) to my users hands, something along the lines of 'continuous delivery/deployment'...
Application is web based but also offer a restful access to a business modules via api, and is running in a resource constrained environment.
I thought on something like this:
On the back-end we have various 'versioned instances' (one per each version of app) of app which coexists and runs in parallel.
On the front-end there is some kind of 'dispatcher' (servlet) which maintains a 'sticky-sessions' directing the requests to right back-end apps.
When back-end application reach the session count 0 would like to undeploy that modules.
Something like this exists in tomcat 7 (see http://www.javacodegeeks.com/2011/06/zero-downtime-deployment-and-rollback.html) but we already have in use jetty and would like to use felix + jetty with OSGI sauce...
Is there something like this already ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: help: deployment, update without downtime
Posted by Brian Topping <to...@codehaus.org>.
On Sep 15, 2012, at 12:44 PM, Luisa Rossi <lu...@yahoo.com> wrote:
> When back-end application reach the session count 0 would like to undeploy that modules.
<snip/>
> Is there something like this already ?
I would suspect no, simply because it seems that nobody would want to undeploy an app simply based on a number of sessions. Is this an advanced memory management scheme for high-scale apps developed with extremely agile development practices? :-)
Having said that, the deployment APIs are accessible. I would look at how it is done in the various user interface implementations and snatch code from there.
Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org