Re: query on BinaryObject index and table

2018-01-20 Thread Denis Magda
> On Jan 20, 2018, at 7:20 PM, Rajesh Kishore wrote: > > Hi, > > I have requirement that my schema is not fixed , so I have to use the > BinaryObject approach instead of fixed POJO > > I am relying on OOTB file system persistence mechanism > > My questions are: > -

Re: AffinityKey - best practice

2018-01-20 Thread Denis Magda
Hi Raj, Affinity collocation is an essential part of distributed caches and databases like Ignite that allows to store related data on the same cluster machine and, thus, making performance of particular operations much faster. These resources will help you to grasp the idea and usefulness of

query on BinaryObject index and table

2018-01-20 Thread Rajesh Kishore
Hi, I have requirement that my schema is not fixed , so I have to use the BinaryObject approach instead of fixed POJO I am relying on OOTB file system persistence mechanism My questions are: - How can I specify the indexes on BinaryObject? - If I have to use sql query for retrieving objects ,

Question about 'table' created by JDBC

2018-01-20 Thread mamaco
Hi, I made a quick test to create a City table through DBeaver, and then I accessed it through java app successfully. But, when I loop the record, I found both of key and value were built by BinaryObject with strange type. Question 1: Is there any convenient API to get the type name from cache

Re: When is CacheStoreAdapter sessionEnd method called?

2018-01-20 Thread Pim D
How did you guys managed to get this working? My sessionEnd is not called either (nor are write and delete). Details: http://apache-ignite-users.70518.x6.nabble.com/CacheStoreAdapter-write-and-delete-are-not-being-called-by-Ignite-s-GridCacheStoreManager-td19624.html -- Sent from:

getAll Latency

2018-01-20 Thread rajivgandhi
Dear Ignite Community, We have been using ignite for close to year now - in production since a month. We use ignite as caching layer between the application (hosted in AWS) and Dynamodb. Below are the latency comparisions with DynamodB: Ignite: get: 800 microseconds getAll (10 items): 8

RE: CacheStoreAdapter not getting called on cache operation.

2018-01-20 Thread Pim D
Hi, I'm experiencing the same problem (with write-behind set to false). Were you able to identify the problem? http://apache-ignite-users.70518.x6.nabble.com/CacheStore-example-for-partitioned-cache-backed-with-a-postgres-database-td19624.html

DataStreamer does not persist in cache when a receiver is set

2018-01-20 Thread Pim D
Hi, I have created a datastreamer that will stream data from a database to my cache. This works very nice, untill... ... I include a StreamTransformer in the data streamer. When the transformer is set, nothing gets stored in the cache?!? In a simple example my transformer extends the

AffinityKey - best practice

2018-01-20 Thread Rajarshi Pain
Hello, I am trying to explore different functionality offered by Ignite (2.3) but this AffinityKey concept is not quite clear to me so need some suggestion from Ignite experts. we are having a scenario where we will load all static data from DB to cache and do various validations for the

CacheStore example for partitioned cache backed with a postgres database

2018-01-20 Thread Pim D
Hi, I can't seem to find a good example on how to implement a CacheStoreAdapter that also writes cache updates to a postgres database. I've tried the standaard CacheJdbcStoreFactory, yet it does not write the updates (even with read and write through set to true and WAL disabled). I've created