On 27 Feb 2012, at 22:18, Hassan Schroeder <hassan.schroe...@gmail.com> wrote:
> On Mon, Feb 27, 2012 at 12:04 PM, hernan <hbe...@gmail.com> wrote: > >> - how to or where to place and access an object shared by all tomcat threads >> >> And I'd like to have a solution that can be extended to many tomcat >> instances (in different servers). > > Why not just keep counters in an in-memory store like e.g. Redis, > MongoDB, Cassandra, etc. etc.? Or queue the work requests in a per user queue. This is better for long running jobs, better for user/resource management and could make your app more responsive. p > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org