Hello!

There is such feature in Apache Ignite, but it works in a different
direction: it can propagate reads to caches to a 3rd party database, and
propagate cache changes to 3rd party database.

See https://apacheignite.readme.io/docs/3rd-party-store

Implementing in in other direction is much harder because common APIs (such
as JDBC) are pull-based (explicit querying) and not push-based or
notify-based or listen-based. So generally you have no way to know when a
row in DB was changed.

Regards,

-- 
Ilya Kasnacheev

2018-05-07 15:27 GMT+03:00 begineer <[email protected]>:

> Hi,
> I have been working with apache ignite 1.9 for quite sometime now and one
> common problem which I faced is adding new records to cache from external
> systems. Ignite currently don't provide auto sync capability with database.
> So I have to write logic to insert entries to cache whenever new data added
> to database tables by other application.
>
> Is there a plan to support such a feature in near future. I know Hazlecast
> provides this feature already.
>
> e.g. maintaining trades cache for trades from webserver. So I have trades
> table which saves uploads. To process them I keep all of them in cache.
> Whenever new upload comes in, it is added to cache using cache.put(). Would
> be awesome if this upload is picked up from table automatically.
>
> It will make life much more simple.
>
> Regards,
> Surinder
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to