Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
In case you weren't aware of it, you can register a "shutdown handler" using
self.application().addShutDownHandler(func). You could write a function
that pickles your dictionary to disk and register it as a shutdown handler.
> -----Original Message-----
> From: Roger Haase [mailto:crosseyedpenguin@...]
> Sent: Sunday, March 02, 2003 12:31 PM
> To: Webware discuss
> Subject: [Webware-discuss] HowTo Restart AppServer and
> Preserve Session
> Based Locks
> I currently use my SitePage module to hold a shared MiddleKit
> store and
> a dictionary which I use as a lock holder for active users who are
> editing a logical section of a MySQL database.
> I would like to be able to restart the AppServer:
> - from a servlet as discussed in another thread recently
> - automatically by updating a module
> - from the console
> How can I save and restore my dictionary lock holder under all of the
> above instances? Or is there a better technique I could use (like a
> MySQL table or file instead of a dictionary in SitePage)?
> Using a file or table would be an easy fix, but I currently detect
> timed out users by maintaining a last accessed time in the lock
> dictionary and clearing timed out users whenever a new user tries to
> obtain a lock. Maintaining the last access time would require
> the file/table with each incoming transaction. Is there a
> better way to
> detect and remove a timed out user?
> Roger Haase
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> Webware-discuss mailing list
From: Ben Parker <ben@we...> - 2003-03-04 00:14:39
Does anyone have performance metrics for Webware? I'm trying to evaluate
Tomcat/jBoss vs. Apache/Webware for a high-traffic site. The site is
currently running WebLogic and the client wants to ditch that in favor of
open-source software, quite refreshing!
I'm looking for quantitative data. Otherwise I may install both app servers
on a linux machine and generate my own stats to compare diff types of pages.