History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-105
Type: Improvement Improvement
Status: Closed Closed
Resolution: Implemented
Priority: Major Major
Assignee: Andres March
Reporter: Mickaël Rifflard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OSCache

call get() method on put() method call

Created: 30/Aug/04 07:57 AM   Updated: 23/Jan/05 04:59 PM
Component/s: Base Classes
Affects Version/s: 2.0.2
Fix Version/s: 2.1


 Description  « Hide
When you call putInCache() method on object GeneralCacheAdministrator, OSCache called get() method on object AbstractConcurrentReadCache before.
If we cache objects on disk, this additional call can be very expensive.

Is it possible to switch off this call to improve performances ?

Otherwise, we can't use this Java cache solution.

Best regards.

 All   Comments   Change History      Sort Order:
Andres March - [30/Aug/04 06:51 PM ]
If you are using disk caching, the calls to the disk are in thread with the rest of the cache calls. This can be expensive. I have just added the ability to use persistence in overflow only mode. This is in cvs and may be released soon. When used in overflow only mode, there should be less calls to disk to manage the cache.

I have also desired the ability to make the persistent cache spool requests for changing the cache. I would welcome any input on this functionality.

Andres March - [22/Sep/04 11:20 AM ]
Please try the RC's new overflow only feature and let me know if it does what you need.