Performance Issue with Enum Serialization in Ignite 2.8

2020-07-15 Thread zork
Hello, I was doing some performance profiling of my ignite.NET client under load and found that it was taking enormous time while serializing an enum field. I'm using IBinarizable approach for serialization and my writeBinary method looks like this: public void WriteBinary(IBinary

Re: Block until partition map exchange is complete

2020-07-15 Thread ssansoy
By the way, just referring back to the original question - is there such a callback that can be used to wait for the partition exchange to complete, in any version of ignite? We are using ignite 2.7.6 (which I acknowledge is slightly behind - but we planning to upgrade) -- Sent from: http://apa

Re: Remote Filter Execution

2020-07-15 Thread VeenaMithare
Hi Ilya, Please find the reproducer project with a readme.txt. I have put in comments on how to reproduce both the issues mentioned in my original mail. regards, Veena. RemoteFilterIssueProject.zip Readm

Re: DataRegion sysMemPlc, TxLog

2020-07-15 Thread Ilya Kasnacheev
Hello! sysMemPlc is used to hold ignite-sys-cache and TxLog to hold SQL MVCC information. You may skip monitoring these. Regards, -- Ilya Kasnacheev ср, 15 июл. 2020 г. в 09:02, kay : > Hello > > We found sysMempPlc and Txlog DataRegion. What is each role? > Do I have to monitoring thoes regi

Re: First 10 long running cache futures [total=1]

2020-07-15 Thread Ilya Kasnacheev
Hello! The printed cache future contains some of this information, but it's hard to decipher. In this case, you are waiting for a node 1e36906c-fae5-49a3-b67a-9eed6ada7e4e. It will make sense to check its thread dump. Regards, -- Ilya Kasnacheev вт, 14 июл. 2020 г. в 05:59, marble.zh...@coinf

Re: Remote Filter Execution

2020-07-15 Thread Ilya Kasnacheev
Hello! I have just checked this behavior on 2.8.1, and I don't see any of these issues popping up. All 3 server nodes run remote listener (judging by log), and after restarting of nodes I can still see updates on 'id1' appearing in client npde's log. I didn't check it on 2.7.6. Can you confirm or

Re: question about node segment and split brain

2020-07-15 Thread Ilya Kasnacheev
Hello! 1. if gc time > failureDetectionTimeout. 2. No, NODE_SEGMENTED is reserved for case where node is excluded from cluster, alone, and not able to function as a single-node cluster (explicitly removed from cluster). 3. I've never seen splitting into two clusters. 4. Perhaps, but see above. Re

Re: How to get local node near cache metrics?

2020-07-15 Thread Ilya Kasnacheev
Hello! The only thing I can think of is cache.metrics().getHeapEntriesCount() Have you tried that? Regards, -- Ilya Kasnacheev вт, 14 июл. 2020 г. в 05:12, John Smith : > Hi I want to get how many entries are on the thick client's near cache. Is > there a way? >

Re: Block until partition map exchange is complete

2020-07-15 Thread Ilya Kasnacheev
Hello! I'm not actually sure. Do you have a reproducer where you see decreased count() result? What is PartitionLossPolicy, have you tried tweaking it? I can see a method in our tests for doing that, and it is very raw: it checks every cache to make sure that all partitions are OWNING. This is o

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread John Smith
Ok I will try it... On Tue, 14 Jul 2020 at 22:34, Evgenii Zhuravlev wrote: > John, > > It's not necessary to have class at all, you can specify any type, you > just need to use this type when creating binary object for this key. > > вт, 14 июл. 2020 г. в 17:50, John Smith : > >> I just used two

Apache Ignite CacheRebalanceMode Is Not Respected By Nodes

2020-07-15 Thread cparaskeva
The setup: Hello folks I have a simple Apache Ignite setup with two Ignite instances configured as server nodes over C# and one Ignite instance as a client node over java. What is the goal: Populate data on instance 1 and instance 2 but avoid movement of data between them. In other words data rece

Re: Ignite Native Persistence With write behind additional store

2020-07-15 Thread Devakumar J
Hi, Thanks for the reply. is there a reference to configure custom store along with native persistence enabled. Thanks & Regards, Devakumar J -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Native Persistence With write behind additional store

2020-07-15 Thread Evgenii Zhuravlev
There is a typo in my previous message, I meant "Storages will be synchronized in case of one of the node failure." There is no reference for this type of configuration since there is no guarantee for the consistency. If you still want to use it, you can just combine configuration for persistence

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread John Smith
Hi Evgenii, it works good. I have two questions... 1- Is the BinaryObjectBuilder obtained from myIgniteInstance.binary().builder("MyKey"); thread safe? Can I pass the same builder to multiple instances of my cache "repository" wrapper I wrote? 2- If we want to use the actual MyKey class then I sup

cache.getAsync() blocks if cluster is not activated.

2020-07-15 Thread John Smith
Hi, testing some failover scenarios etc... When we call cache.getAsync() and the state of the cluster is not active. It seems to block. I implemented a cache repository as follows and using Vertx.io. It seems to block at the cacheOperation.apply(cache) So when I call myRepo.get(myKey) which unde

Re: Hot service upgrade without downtime

2020-07-15 Thread Denis Magda
Hi Sergey, Starting Ignite 2.8 you can update services without brining down cluster nodes: https://apacheignite.readme.io/docs/service-grid#service-updates-redeployment Even though you still need to shut down for a short period of time, the cluster itself stays up-and-running. - Denis On Thu,

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread Evgenii Zhuravlev
1. This builder can be used for making one object, do you want to construct one object from multiple threads? 2. No, you still can work with BinaryObjects instead of actual classes. Evgenii ср, 15 июл. 2020 г. в 08:50, John Smith : > Hi Evgenii, it works good. I have two questions... > > 1- Is t

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread John Smith
I'm using it in Vertx.io. if you understand the concept a bit. I have 2 vertices. I create 2 instances of BinaryObjectBuilder Each builder creates a new object (binary key) per "event" that comes in. So if I get 2 events then each builder will build one... If I get 3 events, the 3rd event will

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread Evgenii Zhuravlev
John, Then you should just get a new builder every time when you need it: myIgniteInstance.binary().builder("MyKey"). I don't see why you need to reuse builder from multiple threads here. Evgenii ср, 15 июл. 2020 г. в 14:34, John Smith : > I'm using it in Vertx.io. if you understand the concept

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread John Smith
Well it's more because I have to inject the ignite instance into my cache "repository" which abstracts away the IgniteCache only. And if the builder is not an expensive operation I guess I can find a way to pass the ignite instance down into the cache repo implementation. On Wed, 15 Jul 2020 at 1

go thin client

2020-07-15 Thread Warren Pang
Hi Will you provide go-lang thin client for Ignite? Thank you.

Durable Memory Setting(Off-Heap)

2020-07-15 Thread Devakumar J
Hi, We have VM with 100GB memory and hosting 1 server node and 1 client node. 8GB heap seems to be optimal for our use case. But how we can decide for off-heap memory when native persistence is enabled. Setting up higher durable memory will cause any other issues?. Please provide if we have link

Re: Remote Filter Execution

2020-07-15 Thread VeenaMithare
HI Ilya, Did you use the reproducer project ? The CACHE configuration is PARTITIONED with ONE BACKUP. So should the remote filter evaluate method run on all the 3 nodes ? I would expect the evaluate method to run only 2 nodes I have not tried 2.8.1 yet. Will try and let you know. regards, Veena.