• Post Reply Bookmark Topic Watch Topic
  • New Topic

write through / read through caching

 
Chris Adkin
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to canvas peoples opinions on increasing the scalability of some software I'm working with, this is an EJB application using stateless session beans, bean managed persistence and a database as the hard store. One of the most performance critical elements of the software are a set of batch processes which at present process their work load on a job by job basis. We have identified that we could make this far more scalable if the EJB middle tier processed it's workloads in multiple jobs at a time and accessed the database in such a way that single queries could provide the data necessary for servicing multiple jobs. However, this approach would require a major re-write exercise. Although we are considering this, another approach would be to use some caching software such as Coherence or Giga Spaces application fabric to act as a read through / write through cache to the database. I was wondering if someone could provide me with the benefit of any experience they have when encountering a similar problem.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. A single name isn't enough. You can change your display name here. Thanks!
 
Chris Adkin
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ernest - I've rectified my display name as per the guidelines.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!