Solved

Priority Algorithm for cache management in Java

Posted on 2006-07-14
9
339 Views
Last Modified: 2013-12-03
Hi,

Far faster respone to database queries, I need to have a Cache in Java that mirrors the database. Now, this cache should be intelligent enough to determine:

1. what kind of data is queries very often and keep that at the top far faster access.
2. Should synch with database automatically after certain interval so as to avoaid staleness of the data.
3. Other components should push certain data changes/updates  to this cache and the cache should in turn synchronise the database.

Appreciate any idea/code how to implement such a cach and the underlying smart algorithm??

Thanks,
Vinay AGgarwal.
0
Comment
Question by:Vinay_enjoy
9 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 84 total points
ID: 17107014
Ofbiz?
0
 
LVL 24

Assisted Solution

by:sciuriware
sciuriware earned 83 total points
ID: 17107053
You might try EHCACHE but you're surely asking much.

;JOOP!
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 83 total points
ID: 17107359
Hi Vinay_enjoy

a few free caching solutions can be found here: http://www.manageability.org/blog/stuff/distributed-cache-java/view

Cheers
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 26

Expert Comment

by:ksivananth
ID: 17111082
what about hibernate solutins!
0
 

Author Comment

by:Vinay_enjoy
ID: 17119605
Hi ksivananth ,

Problem with Hibernate is:

1. May not be able to handle large volume of data as cache.

2. It anyway needs smart algorithm for :
  2.1 what kind of data is queries very often and keep that at the top far faster access.
  2.2 Should synch with database automatically after certain interval

Thanks,
Vinay.
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17362969
OK
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
numbers ascending pyramid 101 196
Weekend adv creator 3 39
couple of eclipse 5 38
How to execute a Python program and gather return output in Java 2 31
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question