Women in Technology

Hear us Roar



Article:
  JBoss Cache as a POJO Cache
Subject:   Will caching help
Date:   2006-03-24 03:20:37
From:   skcn
I have a scenario in which huge data (in a database) needs to be updated from a xml.
Before the data is updated, a lookup needs to be done against the d/b to decide which fields are to be updated / inserted.
To do the lookup, I need to fire a query for each xml I get. This is very costly.
Is it possible that the data from the d/b is pulled in a cache, and lookup happens against the cache? (i think this will save the trip to the database for lookup)
Once the data is updated / inserted, the lookup cache needs to be refreshed to have the last updates. This needs to be done for each xml.
Will jBoss-cache help with this? if yes, how?
Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Will caching help
    2006-03-28 18:07:51  bwang00 [View]

    I'd say if the data size is huge, then it probably is not the best way to cache all the data. Probelm is memory and also query can take a while as well.