Hi,

I strongly recommend you to start from reading Ignite documentation
http://apacheignite.readme.io

and studiyng examples
https://github.com/apache/ignite/tree/master/examples

If you specifically want to propagates cache updates to relational
database,  please check the chapter
https://apacheignite.readme.io/docs/persistent-store

and the example:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/
CacheJdbcStoreExample.java

You could easily roll your own CacheStore to implement desired behavior for
cache updates.



2016-04-15 13:03 GMT+03:00 tomk <[email protected]>:

> No, I show you my case:
>
> I have a program which get data - in cyclic way. When it receives data I
> compute some things and as result I get row.
> The row I would like to write-through
>
> All program is packed into jar,
> main funcions look like:
> main (){
>    while (true){
>      row = getNewData ();
>      computed_row = compute (row);
>      cacheWriter.saveIntoCacheAndDB (computed_row);
> }
> cacheWriter is my class (in plans).
> How should I organize this code ? Where should I create object Ignite ?
>
> When it comes to write-through - at this moment I can use it and implement
> it.
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/executing-jar-application-with-ignite-server-tp4129p4215.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 

Best regards,
Alexei Scherbakov

Reply via email to