tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: Soft termination: a demonstration
Date Thu, 10 Jul 2003 23:54:36 GMT
Algis Rudys wrote:

> Greetings --
> 
> As I announces about a week ago, as a part of my research, I have
> developed a mechanism for terminating individual Tomcat webapps (at the
> context level) called soft termination.  For your further enjoyment,
> I've taken the liberty of setting up a demo install of my soft
> termination system.  The demo install is at: 
> 
> http://puppet.cs.rice.edu:8080/
> 
> In particular, the following URL runs an infinite loop that prints the
> current time each second (note it does this with a "while(true)" and no
> sleeps): 
> 
> http://puppet.cs.rice.edu:8080/examples/servlet/ExceptionExample
> 
> And this URL prints the current system status of the machine in question
> (updated once per second):
> 
> http://www.cs.rice.edu/~arudys/loadavg.html
> 
> Every 10 seconds, termination of the examples webapp is triggered.  Note
> that it is triggered by updating the modification date of the
> ExceptionExample.class file (forcing a reload which terminates the old
> webapp) and not from within Tomcat.
> 
> Once again, links for downloading the code and to the journal article
> describing soft termination can be found off this site: 
> 
> http://www.cs.rice.edu/~arudys/software/#softterm
> 
> And feel free to badger me with any questions you see fit.
> 
> Enjoy.  Be nice. 

Ok, that sounds cool :)
That kind of tech could add extra robustness to TC. Right now, I don't 
quite undestand how it works, though :-P I'll try to look at it next week.

Remy



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message