[jboss-user] [JBossCache] - Is JBossCache suitable for my problem?

rlhr do-not-reply at jboss.com
Sun Oct 1 09:03:38 EDT 2006


Hello,

I'm implementing a web application that uses JBoss as application server.
Some pages served by the application are heavily used and contains readonly data stored in the database.
I don't want to access the database everytime such a page is served as it is not very good performance wise. 

The requirements are the following:
- The data can be changed but rarely and not by the user.
- I'd like to load the data from the database only once at server start.
- it should also work in a clustered environement.

One simple solution would be to put the data in a hashmap. 
I would just have to restart each server in a clustered environement and the new data would be available.

Another solution I think would be to use the JBossCache. I started reading the documentation and I'm sure it would do the job. But isn't it an overkill in my situation or is JBossCache actually designed for that kind of situation?

Thanks for your help.

Richard



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975327#3975327

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975327



More information about the jboss-user mailing list