Hello!

I don't see why you can't use Data Streamer here. With allowOverwrite=false
you don't even need 'get' checks.

CacheLoader is pulling data from underlying database, not sure it is the
right choice for push-style data loading.

Regards,
-- 
Ilya Kasnacheev


вт, 21 янв. 2020 г. в 20:50, Victor <[email protected]>:

> If i understand correctly, the usecase for data streamer would be to pre
> load
> large/bulk data into cache.
>
> The usecase that i am looking at is, say we have limited cache, where say
> 50% data is pre-loaded and here the data stream will come into play and
> remaining 50% is in DB. The "get" call's that result in a cache miss, will
> load the data from the DB and populate it in the cache for subsequent
> lookups.
>
> My plan was to use CacheLoader for this Cache miss case. I don't think Data
> Streamer would be a good choice here, would it?
>
> And if CacheLoader is the only way to do this then i will have to implement
> the server nodes as well, right?
>
> Regards,
> Victor
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to