• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Caching on WebSphere with Clustering

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We are trying to using ejb cahing (by specifying commit type A) on Websphere. It worked fine on a stand alone test server. But when we moved to a cloned/clustered environment, we began to see several unnecessary database reads. Basically, in the cloned environment, the cache is ignored and info. is read from database even when the data should be in the cache. I found a link (http://www-3.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/040301.html) that said that ejb cahing (commit type a) and cloning are incompatible. But without the caching, the performance deteriorates significantly and it does not seem to make sense to use EJBs. Is there a way around this ? Kindly advise.
Thanks,
Sankar
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, there is no way around this other than to write your application to be faster. Try using a performance profiler to find out what is causing the bottleneck and then try to address that issue.
Kyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic