File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

EHCache Server locking

 
sameer sood
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I am trying to improve performance of my application.

The problem we are facing right now is with EH Cahe 1.4.1. Whenever it tries to refresh data from DB. If the Db is slow the whole application gets locked down.

Considering ver 2.4.2 of ehcache which has many improvements obviously, I can see a new parameter 'clearOnFlush'. Just wanted to know if this can help me solve the problem.

Also I am considering changing the strategy used while refreshing data, concurrency-strategy. would be great if someone can suggest which one shall apply here.

Information is not quite clear on net.

Thanks,
 
Matthew Brown
Bartender
Posts: 4549
8
Java Netbeans IDE Scala
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Sameer. Can you please avoid posting the same question more than once? Otherwise people might waste their time trying to answer a question that's already been answered.

Thanks. I'll lock this one, and discussion can take place on the other.

(Duplicate of http://www.coderanch.com/t/542386/java/java/EHCache-Server-locking)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic