Re: Cache Structure

2018-11-13 Thread Andrey Mashenkov
Hi, Yes, to add a new item to a list value of second cache Ignite will have to deserialize whole list (with all it's items) then add new item and then serialize list again. You can try to use BinaryObjects to avoid unnecessary deserialization of list items [1]. Also note, k2 and k1 data will have

Re: How does Ignite provides load balancing?

2018-11-13 Thread Alejandro Santos
Dear Ilya, This is exacly what I was looking for! I can't find much documentation about it in ignite docs, only posts in mailing list. Is there any paper that studies this for Ignite? Thanks Alejandro On Tue, Nov 13, 2018 at 5:34 PM Ilya Kasnacheev wrote: > > Hello! > > It will use Rendezvous

Cache Structure

2018-11-13 Thread Ramin Farajollah (BLOOMBERG/ 731 LEX)
Hi, Please help me structure the cache to store instances of a type, say T. I'd like to cache the objects in two different ways: 1. By a unique key (k1), where the value is a single instance 2. By a non-unique key (k2), where the value is a list of instances Please comment on my approach: -

Re: Does Apache Ignite support java 8 and hibernate 5.2 NOW?

2018-11-13 Thread Ilya Kasnacheev
Hello! There is a patch available at https://issues.apache.org/jira/browse/IGNITE-9893 You could probably apply it and build your own integration module. Regards, -- Ilya Kasnacheev ср, 7 нояб. 2018 г. в 20:42, daya airody : > Hibernate_5.2.x expects different Interface from Ignite for

Re: How to add a new cache type to a existing cache?

2018-11-13 Thread Ilya Kasnacheev
Hello! In Apache Ignite, once cache is created most of its configuration settings cannot be changed. There is slight deviation from this rule when we consider ALTER TABLE or CREATE INDEX command, but I don't think you can add new indexed types. Regards, -- Ilya Kasnacheev пт, 9 нояб. 2018 г.

Re: How does Ignite provides load balancing?

2018-11-13 Thread Ilya Kasnacheev
Hello! It will use Rendezvous hashing of keys: https://en.wikipedia.org/wiki/Rendezvous_hashing Regards, -- Ilya Kasnacheev пт, 9 нояб. 2018 г. в 16:24, Alejandro Santos : > Dear Denis, > > How does Ignite provides load balancing between nodes? > > Is it hash-based? > Is it dynamically

Re: Ways to improve re-balancing of partitions and how to monitor re-balance progress

2018-11-13 Thread Naveen
Has any one got anything to say on this. Thanks -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Error in write-through

2018-11-13 Thread Ilya Kasnacheev
Hello! Striped pool works like traditional thread pool but it is faster, a job can only go to one stripe always. putAll will not be broken down but executed in one stripe (first key from the batch, I guess). I guess so. -- Ilya Kasnacheev вт, 13 нояб. 2018 г. в 16:31, Prasad Bhalerao : >

Re: Error in write-through

2018-11-13 Thread Prasad Bhalerao
How does striped pool work exactly? I read the doc but still have some confusion. Does ignite break putAll cache operation into small chunks/tasks and then submit it to threads in striped pool to do it concurrently? Is this

Re: Query execution too long even after providing index

2018-11-13 Thread Prasad Bhalerao
Hi Evgenii, Thank you for suggesting the query optimization. It worked perfectly fine. I unnecessarily complicated the sql. I really appreciate the efforts you guys are taking to help out the users. About the test data: Yes in production I will be having more than 100K records for single

Re: Error in write-through

2018-11-13 Thread Ilya Kasnacheev
Hello! As you can see from this thread dump, Oracle driver is waiting on a socket, probably for a query response. You should probably take a look at hanging queries from Oracle side. Regards, -- Ilya Kasnacheev вт, 13 нояб. 2018 г. в 9:21, Akash Shinde : > Hi, > I have started four ignite