Re: excessive timeouts and load on NODE_JOINED and NODE_LEFT events

2019-11-12 Thread ihalilaltun
Hi, Timeouts always starts when NODE_JOINED event has been fired, i am not sure if this event causes PME to take place or not. As I said before, this is a live system and we cannot stop ignite operations while PME is running :( I'll try to change log level to DEBUG, if I can do that, I'll share

Re: Ignite.Net configuration for storing large cache data

2019-11-12 Thread Pavel Tupitsyn
Hi Sudhir, There are 3 things to consider: 1) Capacity planning - how much memory do you need for your data? Depending on type, 30-50 properties can take very different amount of memory to store. - n+4+1 for strings, where n is size in utf8 encoding - 4+1 bytes for int - 8+1 bytes for long and so

Re: Ignite.Net Server & client node

2019-11-12 Thread Sudhir Patil
Thanks Pavel. I will look into those. Regards Sudhir On Wednesday, November 13, 2019, Pavel Tupitsyn wrote: > Sure, you can query multiple items as well in various ways - see > ICache.Query method [1] > ICache is also IEnumerable, so you can iterate over entire contents, and > even call ToList/

Ignite.Net configuration for storing large cache data

2019-11-12 Thread Sudhir Patil
Hi All, What should be configuration changes required for storing large data e.g. 10 million records of custom class objects having around 30- 50 properties? I am using basic default configuration for Ignite.net. JvmOptions used are like -Djava.net.preferIPv4Stack=true -Xms512m -XX:+UseG1GC -XX:+

Re: kubernetes pvs-write through and Read through

2019-11-12 Thread akorensh
Hi, Python examples are located here: https://github.com/apache/ignite/tree/master/modules/platforms/python/examples read/write through example(java) is located here: https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbc

Re: Confusion about how to connect to Kubernetes cluster remotely from client app

2019-11-12 Thread camer314
Thanks Ilya, Am i able to use the .NET API in this way? Connecting to a remote cluster? I am finding the documentation of the configuration a little hard to understand in regards to the options for connection. In the Kubernetes YAML file I see ports for REST, SQL and thin clients, would you use t

Re: Ignite.Net Server & client node

2019-11-12 Thread Pavel Tupitsyn
Sure, you can query multiple items as well in various ways - see ICache.Query method [1] ICache is also IEnumerable, so you can iterate over entire contents, and even call ToList/ToArray on it for smaller caches. [1] https://apacheignite-net.readme.io/docs/cache-queries On Tue, Nov 12, 2019 at 7:

Re: Ignite.Net Server & client node

2019-11-12 Thread Sudhir Patil
Thanks Pavel. I want both - both whole list and individual items within that list to be queried from cache. Hence was asking on that side. Regards, Sudhir On Monday, November 11, 2019, Pavel Tupitsyn wrote: > As I understood, you store the whole list of 1 employees as a single > object: >

Re: excessive timeouts and load on NODE_JOINED and NODE_LEFT events

2019-11-12 Thread Ilya Kasnacheev
Hello! If Ignite decides to hold a PME, there is no way you can 'block' that. If indeed these timeouts are caused by PME, you should make sure to not do actions that can trigger those. Please note you have non-verbose logs, so it's hard to say exactly if this is the case. Regards, -- Ilya Kasn

Re: External ignite node is left outside when ignite cluster is restarted

2019-11-12 Thread Ilya Kasnacheev
Hello! I think you can do that, just listen to EVT_NODE_SEGMENTED and EVT_NODE_LEFT events. You can also use SegmentationPolicy of RESTART_JVM. Regards, -- Ilya Kasnacheev пн, 11 нояб. 2019 г. в 13:11, Narsi Reddy Nallamilli < narsi.nallami...@gmail.com>: > Hi, > > It's a server node. > > Ca

Re: Confusion about how to connect to Kubernetes cluster remotely from client app

2019-11-12 Thread Ilya Kasnacheev
Hello! Well, you have a multitude of options here: Thick client is not recommended since it is a part of topology and it may suffer in case your desktop becomes disconnected, for example. You can use REST all right. REST can execute services' methods, and you can write services to do anything th

Re: Wait for streamer to "finish" ?

2019-11-12 Thread Ilya Kasnacheev
Hello! After flush() or close() are finished, all records should be in cache in both size() and contains() sense. Regards, -- Ilya Kasnacheev вт, 12 нояб. 2019 г. в 12:37, Mikael : > Hi! > > If I use flush() an a streamer it looks like it is waiting for all tags > to be written, but if I call

Wait for streamer to "finish" ?

2019-11-12 Thread Mikael
Hi! If I use flush() an a streamer it looks like it is waiting for all tags to be written, but if I call .size() on a cache after flush is complete it is still zero (primary and backup), it takes some time for it to show up even on a single node, is there a way to wait for the streamer to fin

Confusion about how to connect to Kubernetes cluster remotely from client app

2019-11-12 Thread camer314
I am new to Ignite and am struggling to figure out how to connect my client application to my Ignite cluster hosted in Azure Kubernetes. Effectively I want to remotely connect, that is, I dont want my client machine to be in the topology, its probably not even in the same country, I would like to