Hi,

I think that the best way to handle this scenario is to update the
underlying database through Ignite.
Other approaches have obvious drawbacks (at least one): there is always a
time interval between calling cache.get() and executing SQL query, so it
cannot be guaranteed that you will see the latest data.

In case of real-time updates is not a mandatory requirement, I would suggest
implementing an Ignite Service [1] that will update your cache(s) on some
schedule.

[1] https://apacheignite.readme.io/docs/cluster-singletons

Thanks.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to