thanks Val for quick response.  

1. Regarding 'read-only cache', below is code snippet from my cache config.
As my application is a reporting application, the writes to database will
not happen via my cache. 
hence i set  'setWriteThrough' to false and set 'setReadThrough' to true.

                cacheCfg.setReadThrough(true);
                cacheCfg.setWriteThrough(false);

2. Regarding 'When expiration happens, the entry is removed from cache. Once
you try to read it again, it will be reloaded. ' 

in my case reloading the huge data every time when the cache is expired will
degrade performance of my report generation.

My requirement is to run a query at a regular interval (ex. every 30 min)
and load the data into cache, The cache built above will be used by my
reporting tool for reports generation. 

i don't want to load the whole cache every time, but just load only the
updated records. 
Is that something i can achieve with Ignite. please suggest.

-Srini










--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Need-help-on-the-data-streaming-tp8714p8805.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to