tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <rfha...@yahoo.com>
Subject Re: Tomcat scalability setting - need help please
Date Fri, 09 Apr 2010 07:09:43 GMT
Rendra,

--- On Thu, 4/8/10 at 5:28 PM, cinlung@gmail.com <cinlung@gmail.com> wrote:

> 
> Do you have better way as how to transport this result to
> jsp? Please enlighten me. 
> 

If you *really* need to serve _millions_ of rows of data to a user you
will need to implement some form of "paging" - the query results are
cached on the server and served to the user on a page-by-page basis when requested.

You mentioned that you implemented your own caching scheme. I suggest
you take a look at ehcache: http://ehcache.org/ It can be easily setup
to automatically cache to disk and purge "stale" data.

- Bob


      

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


Mime
View raw message