aspose file tools*
The moose likes Object Relational Mapping and the fly likes EHCache Server locking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

EHCache Server locking

sameer sood
Ranch Hand

Joined: Dec 05, 2007
Posts: 30
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,


Sameer Sood
SCJP 1.5 (93%), SCWCD 1.5 (95%)
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4421
    
    8

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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EHCache Server locking