Re: Distributed transaction support in Ingnite

2018-02-09 Thread Prasad Bhalerao
Hi, I am using Oracle database. I want to use write behind approach to update the tables when the cache associated with that table is updated. 1. If I do colocate computing in my distributed transaction will it also commit/rollback the data from oracle table? 2. I want to start multiple ignite n

Re: Cat Example

2018-02-09 Thread Amir Akhmedov
I ran your code and connected to Ignite through dBeaver and it shows single DOG table. I think it's some glitch with your dBeaver instance. In general, you can run H2 Console by enabling IGNITE_H2_DEBUG_CONSOLE JVM parameter and check over there. FYI, Ignite supports C++[1] and .NET[2] platforms,

RE: @SpringApplicationContextResource / ApplicationContext / getBeansOfType()

2018-02-09 Thread Navnet Kachroo
Found the problem - this issue was caused by having “org.springframework.boot:spring-boot-devtools” in the project dependencies. Things worked as expected once I removed this devtools dependency. Thanks, NK From: Michael Cherkasov [mailto:michael.cherka...@gmail.com] Sent: Thursday, February 8,

Re: SpringTransactionManager and ChainedTransactionManager

2018-02-09 Thread smurphy
In actuality I rewrote the tests and removed the AbstractTransactionalJUnit4SpringContextTests super class and the transactions worked. I also rewrote the the test as an integration test on a tomcat server and confirmed that the transaction managers worked. I did see the same javadoc comments that

RE: Cat Example

2018-02-09 Thread Williams, Michael
So this seems to be the closest I can get to something that looks like DML – this does work, and the only odd thing is that table DOG shows up twice in dBeaver, which I can’t quite figure out. Is this the right way to go about getting data in? Sorry, I’m just getting started with Ignite and my

Re: Cat Example

2018-02-09 Thread Amir Akhmedov
Hi Mike, As of today Ignite DML does not support transactions and every DML statement is executed as atomic (Igniters, please correct me if I'm wrong). But still you can use DataStreamer[1] to improve data loading. Or you can use Ignite's Cache API with batch operations like putAll. [1] https://

Re: Versioning services

2018-02-09 Thread vkulichenko
Colin, Unfortunately this is not possible at the moment, you need to restart nodes to change service implementation. There is a feature request for improving this: https://issues.apache.org/jira/browse/IGNITE-6069 -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite with Spring Cache on K8S, eviction problem

2018-02-09 Thread lukaszbyjos
No, at k8s I'm using partitioned. Currently I'm testing case with turned off onheap. I don't know why but it doesn't work for the first time when it's called but when I call this few minutes later it works. Maybe it's because of Atomic mode? -- Sent from: http://apache-ignite-users.70518.x6.na

Re: Ignite with Spring Cache on K8S, eviction problem

2018-02-09 Thread vkulichenko
Why are using local cache instead of partitioned in dev? If you have local caches, then you will get behavior exactly like you described - you will remove from one node, but not remove on others. Can this be the case? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Cat Example

2018-02-09 Thread Williams, Michael
Is it possible to stream data into a table created by a query? For example, consider the following modified example. If I had a Person object, how would I replace the insert loop to improve speed? Thanks, Mike import org.apache.ignite.Ignite; import org.apache.ignite.IgniteCache; import org.apa

Versioning services

2018-02-09 Thread colinc
I'm interested in using Ignite services as microservices and have seen Denis' blog posts on the topic. In my case, I also have a requirement to perform computations with data affinity. My idea is to call a node singleton service locally from a distributed compute task. The advantage of using the s

Ignite with Spring Cache on K8S, eviction problem

2018-02-09 Thread lukaszbyjos
Hi. I have k8s cluster with one ignite server and few services as clients. I have problem with evicting values using spring annotations. Apps have cache "example-user" and when one service evict by key another one still have values. There you can find cache config and example repo for spring htt

Re: Loading cache from Oracle Table

2018-02-09 Thread Prasad Bhalerao
Hi Vinokurov, I was thinking to use Java ExecutoreService to submit the task (task to invoke CacheStore.loadCache method). Is it ok to use ExecutorService or ignite provides some way to submit the task? Thanks, Prasad On Fri, Feb 9, 2018 at 6:04 PM, Vinokurov Pavel wrote: > Hi Prasad, > > With

Re: Loading cache from Oracle Table

2018-02-09 Thread Vinokurov Pavel
Hi Prasad, Within your implementation of CacheStore.loadCacheYou you could use multiple threads to retrieve rows by batches. Note that each thread should use different jdbc connection. 2018-02-09 13:57 GMT+03:00 Prasad Bhalerao : > Hi, > > I have multiple oracle tables with more 50 million rows.

Loading cache from Oracle Table

2018-02-09 Thread Prasad Bhalerao
Hi, I have multiple oracle tables with more 50 million rows. I want to load those table in cache.To load the cache I am using CacheStore.loadCache method. Is there anyway where I can load a single table in multithreaded way to improve the loading performance? What I actually want to do is, 1) Get

Re: ignite support for multii data center replication

2018-02-09 Thread Roman Guseinov
Hi Rajesh, If you want to split a single cluster across two data centers, this will lead a performance penalty due to large network latency. If you asked about data replication between clusters via WAN, Apache Ignite doesn't support this at the moment. I think there are two ways to do: make own i