Service deployment

2017-11-27 Thread Mikael
or will the service deploy method handle all that for me when a number of nodes are started and they all try to deploy the same services. Mikael

AffinityKey question

2017-11-26 Thread Mikael
Hi! If I do a cache.put( new AffinityKey( key, value), myvalue); and later on want to update the value, do I need do a: cache.put( new AffinityKey( key, value), newvalue); or can I do: cache.put( key, newvalue); If I do a put on a value that is already in the cache using a "non" affinity

Re: AffinityKey question

2017-11-26 Thread Mikael
I was hoping it would work with either one as it is using equals() for comparison and AffinityKey calls the keys hash/equals method. I guess I have to keep the AffinityKeys stored somewhere to make it work. Thanks Mikael Den 2017-11-26 kl. 21:36, skrev Gaurav Bajaj: Hi, You have to alwaya

Cache store class not found exception

2017-12-11 Thread Mikael
Hi! I have a cache in a server node that is using a custom cache store for a JDBC database, when I connect a client node (running inside a Payara/Glassfish web application) to that server node I get a: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class

Re: Affinity key for specific node

2017-12-05 Thread Mikael
Well, I would like to use a partitioned cache so that the data in the cache stays intact if that node goes down for a while, but if more nodes go down it might be lost anyway so maybe I need to use a local cache and persist it instead, was trying to avoid that. Den 2017-12-06 kl. 00:00,

Re: Unsubscribe Me

2018-05-10 Thread Mikael
Is it the same email ? you have no forwarding, old email or something ? are you unsubscribing the same email as you subscribed ? Den 2018-05-10 kl. 19:17, skrev Shaleen Sharma: Ive sent mail on user-unsubscr...@ignite.apache.org to unsubscribe

"WAL segment tail is reached", Is it a problem ?

2018-06-11 Thread Mikael
and I still get this ? Mikael

Re: "WAL segment tail is reached", Is it a problem ?

2018-06-11 Thread Mikael
I have turned on full logging and I will include that next time it happens. Mikael Den 2018-06-11 kl. 17:26, skrev dkarachentsev: Hi Mikael, Please share your Ignite settings and logs. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: "WAL segment tail is reached", Is it a problem ?

2018-06-12 Thread Mikael
, the node was shutdown nice and friendly and it's running in FSYNC mode, it does not happen every time the node is started, maybe every 5 or 6 times or so. Mikael Den 2018-06-11 kl. 17:26, skrev dkarachentsev: Hi Mikael, Please share your Ignite settings and logs. Thanks! -Dmitry -- Sent from: htt

Re: Ignite clustering doubts

2018-06-08 Thread Mikael
The documentation does explain it pretty well: https://apacheignite.readme.io/docs/affinity-collocation Den 2018-06-08 kl. 07:41, skrev the_palakkaran: Why do I want to map keys to partition ids? Can you tell me more, please? By keys, it means the keys used for the cache right? If so,

Re: About Ignite Thin client performance

2018-06-13 Thread Mikael
Hi! It's in the documentation so why wouldn't it be true ? you have the same description at the beginning on how it works: "The thin client simply establishes a socket connection to a standard Ignite node​ and performs all operations through that node." Mikael Den 2018-06-13

Re: code hangs up on cache().removeAll(set) operation

2018-06-04 Thread Mikael
Hi! Any chance you might have other putAll/removeAll that have the same entries but in different order ? putAll not using some ordered set can cause deadlocks, not sure if this can happen for removeAll also, what kind of set are you using ? Mikael Den 2018-06-04 kl. 15:18, skrev akash

Messages and topics

2018-06-01 Thread Mikael
down the amount of traffic on the network)  ? Say for example I have 10 nodes and I add a local listener on only one of them, messages will still be sent to all nodes, not just the one with the local listener. Mikael

Re: Strange cache size

2018-06-26 Thread Mikael
about durable memory / eviction policy in the documentation explains how to control the amount of ram that is used. Mikael Den 2018-06-26 kl. 10:11, skrev Michaelikus: Hi dear dr. Allcome ;) I have an table in MSSQL which size is 4GB I've transfer it to cache and it's size takes more tan

Re: Uneven partitioning and data not on off-heap memory.

2018-06-30 Thread Mikael
1. No idea, have not seen any problems myself. 2. By default all entries are saved off heap (not disk, heap outside the Java heap to avoid GC problems), you can configure it to use heap or off heap memory as you want. Mikael Den 2018-06-30 kl. 22:43, skrev smovva: I have started my

Re: Strange cluster activation behaviour in ignite 2.4.0

2018-04-26 Thread Mikael
Silly question, do you have native persistence enabled ? Mikael Den 2018-04-26 kl. 11:14, skrev Olexandr K: Hi Igniters, I observe strange cluster activation behaviour in ignite 2.4.0 1) start 2 server nodes 2) control.bat --state => Cluster is inactive 3) control.bat --activate => C

Re: Caching timeouts

2017-12-31 Thread Mikael
It does but you can use it to create multiple instances with different policies that work on the same cache, if you can live with a few different timeouts that should work fine, I am not sure about the overhead if you call .withExpiryPolicy each time you write to the cache though. Mikael

xml and java configuration

2018-01-09 Thread Mikael
Hi! Is it possible to mix Ignite configuration so I can have the basic configuration in my xml files and add some extra configuration from the Java application or do I have to use one or the other ? Mikael

Limit cache size ?

2018-01-08 Thread Mikael
Hi! Is there any way I can limit the number of items in a cache ? I know the JCache API does not support it, only the time based expiration, but using that mean that a cache can grow a lot if it gets fed a lot of items in a short time, something like the LRU eviction but that deletes older

Is the default memory region always there ?

2018-01-11 Thread Mikael
;> value="#{500L * 1024 * 1024}"/> Will this replace the default memory region with only one called "500MB_Region" or will the default region still be there ? Mikael |

Re: String as value problem ?

2018-01-11 Thread Mikael
Hi! Forget about it, it was my fault, when you use a String as a value in a cache (and use indexing), it requires that you have Lucene jar's in the classpath, I didn't have that. Mikael Den 2018-01-11 kl. 00:11, skrev vkulichenko: Mikael, First of all, the trace should contain the cause

Re: Cache persistence question

2018-01-03 Thread Mikael
setWriteBehindFlushSize(), then I don't know when any modified entries are saved to storage so they may expire before they are written to storage.| | Den 2018-01-03 kl. 12:55, skrev Denis Mekhanikov: Hi Mikael! Yes, this is fine. Expiration policy is intended to remove those entries from memory

Re: Ignite Memory Storage Options

2018-01-05 Thread Mikael
what you are trying to do so maybe I understand you wrong. Mikael Den 2018-01-05 kl. 09:24, skrev rishi007bansod: Hi, I am using Ignite version 2.3.0, I want to know whether it is possible to, (1) store all cache data in the disk (no data in memory at all) (2) store exclusive set

String as value problem ?

2018-01-10 Thread Mikael
it is related to indexing in H2 for some reason), if I change to some other class for value in the caches they work just fine. Mikael

Using native persistence question

2018-01-09 Thread Mikael
entries that are no longer valid that is has stored on disk and start using the correct new entries from the other surviving nodes ? Mikael

Re: usage of Apache ignite as Key value DB

2018-01-17 Thread Mikael
You have to run an Ignite instance to use it (you can embed it in your application), you can't just use the key value store on it's own, a LOCAL cache would be the closest to a Berkeley DB store. Docs at : https://apacheignite.readme.io/docs/data-grid Den 2018-01-17 kl. 11:05, skrev Rajesh

Are services serialized ?

2018-01-10 Thread Mikael
need to set transient member variables ?, say for example I have a socket object as a member of the service implementation that I use for something ? Mikael

Re: Index question.

2018-01-29 Thread Mikael
Thanks, the reason I need SQL is that my key is not a primitive, it's a class made of 2 int and one String and I need to query on parts of the key and not the entire key, like select all keys where one of the integers is equal to 55 for example. Mikael Den 2018-01-29 kl. 19:05, skrev Amir

Re: Subscribe

2018-02-02 Thread Mikael
To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. Den 2018-02-02 kl. 23:59, skrev Luqman Ahmad: Please subscribe me.

Index question.

2018-01-29 Thread Mikael
nothing about using null for the value class for example, would this be ok ? if I have a huge number of entries I would think the performance would suffer if it has to update an index that is never used and it waste memory also. Mikael

Re: default location for ignite file db

2018-01-29 Thread Mikael
You can set it in your XML file or Ingnite configuration from Java.         class="org.apache.ignite.configuration.DataStorageConfiguration">                     Den 2018-01-29 kl.

Re: Index question.

2018-01-30 Thread Mikael
No worries, the value is a hashmap that store some configuration and I just use index on the key to get the stuff out of there so should not be a problem. Mikael Den 2018-01-30 kl. 10:19, skrev Stanislav Lukyanov: To add a detail, value will have an index created

Services with native persistence

2018-02-03 Thread Mikael
? Mikael

Re: Services with native persistence

2018-02-03 Thread Mikael
Answering my own question ;) it look like the cache where the services are stored are not included in the persistence, so if all nodes are stopped the services must be doployed again when the nodes come back up again. Mikael Den 2018-02-03 kl. 17:00, skrev Mikael: Hi! The cache that keep

Re: slow query performance against berkley db

2018-02-12 Thread Mikael
Hi! What is it you are trying to do ? I assume you have a working solution with BDB now, why do you want to change it to Ignite ? do you want/need redundancy/HA ? do you plan to run this on a single node or multiple nodes ? Mikael Den 2018-02-12 kl. 03:45, skrev Rajesh Kishore: Dear all

Cache persistence question

2018-01-03 Thread Mikael
Is it ok to use both third party persistence (setWriteBehindEnabled( true)) on a cache and also have an expiration policy set at the same time, will any items in the cache that expire and have been modified be saved before they are removed from the cache ?

Re: Ignite Cache Expiry policy does not remove the cache from cache lists

2018-07-30 Thread Mikael
Hi! The expiry policy will only remove entries, the cache itself is never removed, you have to do that yourself. Mikael Den 2018-07-30 kl. 15:49, skrev okiesong: Ignite Cache Expiry policy does not remove the cache from cache lists. I have set it to 2 hrs, but after 2hours, the records

Re: Questions about how Ignite SQL Works

2018-07-30 Thread Mikael
the query point of view it's no difference if you have (native) persistence enabled or not, it works the same way. Mikael Den 2018-07-30 kl. 09:30, skrev Lijun Cao: Hi: I have referenced *How Ignite SQL Works *document but I still have got 2 questions. The first question is,  when I

Re: H2 performs better than ignite !!?

2018-08-09 Thread Mikael
of course on the data and where it is located and so on). Mikael Den 2018-08-09 kl. 12:41, skrev the_palakkaran: Hi, When I tried running few db lookup scenarios in H2 and ignite, I got better performance for H2. All were basic db operations like =, <=, >=. These were the figures for 2m

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

2018-07-20 Thread Mikael
https://stackoverflow.com/questions/37936833/difference-between-tcpcommunicationspicommunicationspi-and-tcpdiscoveryspidis Den 2018-07-20 kl. 12:57, skrev monstereo: Is there anyone who can answer? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Need to Use Both Native and Cache store Persistence

2018-07-12 Thread Mikael
Hi! Can't you just separate the data so you can keep the native persistence data in a native persistence enabled region and the cache that needs to use the cache store in another region without native persistence ? Mikael Den 2018-07-12 kl. 13:17, skrev siva: Hi, we need to use both

Re: usage of Apache ignite as Key value DB

2018-01-17 Thread Mikael
on the entire cache even if items not in RAM, if you use 3rd party persistence SQL queries will only work on items in RAM. Hope that helps a little. Mikael Den 2018-01-17 kl. 13:30, skrev Rajesh Kishore: Hello Mikael, Thanks a ton for your response. I got descent understanding that for any operation

Re: usage of Apache ignite as Key value DB

2018-01-17 Thread Mikael
in local file system and how to insert and retrieve record Thanks Rajesh On 17 Jan 2018 3:59 p.m., "Mikael" <mikael-arons...@telia.com <mailto:mikael-arons...@telia.com>> wrote: You have to run an Ignite instance to use it (you can embed it in your applicatio

Re: 2.3 vs 2.4 compatibility

2018-03-15 Thread Mikael
I made a backup of the files before I deleted them so I guess I can repeat it again, I will have a look at it. Mikael Den 2018-03-15 kl. 12:18, skrev Dmitry Pavlov: Hi, It should work and data from 2.3 should be loaded by 2.4. Could you please share details? Do you have logs, and entries

Re: Any idea what this is ?

2018-04-03 Thread Mikael
from inside start() (native persitence on), I changed that to using @IgniteInstanceResource instead and it looks like it starts ok now. Mikael Den 2018-04-02 kl. 14:31, skrev Andrey Mashenkov: Hi, Config looks ok. Looks like some object still can't be unmarshalled due to some reason. Can you

Re: Customized affinity function

2018-04-11 Thread Mikael
Hi! The |@AffinityKeyMapped annotation can be used on a field or a method, so you can have a method returning anything you want (based on size), would that not work ?| |Mikael | Den 2018-04-11 kl. 07:59, skrev Prasad Bhalerao: Hi, I have following case. I have around 1 subscriptions

Any idea what this is ?

2018-03-27 Thread Mikael
Hi! I stopped my application without problems last week, today when I started it up (no changes to the code or anything) I got the exception below, anyone have a clue to what it could be ? It's 2.4, I have native persistence on. 12:13:13 [srvc-deploy-#56] ERROR: Failed to initialize service

Re: Any idea what this is ?

2018-03-27 Thread Mikael
. Mikael Den 2018-03-27 kl. 12:43, skrev Andrey Mashenkov: Mikael, Please, let us know if the issue occurs again and no work directories were deleted and no files can be shared between nodes. We'll investigate this. Any reproducer will be appreciated. On Tue, Mar 27, 2018 at 1:40 PM, Andrey

Re: Any idea what this is ?

2018-03-28 Thread Mikael
v Andrey Mashenkov: Hi, Yes, Ignite stores configuration on disk if native persistence enabled. Would you please share a reproducer? On Tue, Mar 27, 2018 at 3:04 PM, Mikael <mikael-arons...@telia.com <mailto:mikael-arons...@telia.com>> wrote: Ok, I will have a look at it and

Re: ScanQuery failing on Client Mode

2018-10-05 Thread Mikael
Hi! It looks like Ignite can't find it on the client for some reason: java.lang.ClassNotFoundException: com.ibm.mobilefirst.travel.VRCacheDelegateImpl Mikael Den 2018-10-05 kl. 16:11, skrev kvenkatramtreddy: Hi Team, ScanQuery is failing on ClientMode. below is the error

Re: Does ignite provide a Comparator for Sort?

2018-11-01 Thread Mikael
Hi! I don't think so but can't you use an index and an SQL query instead ? Mikael Den 2018-11-01 kl. 06:33, skrev Ignite Enthusiast: I am new to Apache ignite.  I have used HAzelcast extensively and one of the features I really liked about it is the Comparator that it provides on the Cache

Re: how to do i hibernate configuration for Apache ignite database

2018-10-31 Thread Mikael
Hi! Are there any information missing in the documentation ? https://apacheignite-mix.readme.io/docs/hibernate-l2-cache Mikael Den 2018-10-31 kl. 06:24, skrev Malashree: how to do hibernate configuration using ignite database. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: OVER() clause in ignite

2018-10-24 Thread Mikael
Hi! As far as I know H2 does not support OVER. Mikael Den 2018-10-24 kl. 07:28, skrev Sriveena Mattaparthi: Do we support over() clause in SQL in ignite like select count(*) over() totalrecords  from EMPLOYEE; please confirm. Thanks & Regards, Sriveena “Confidentiality No

Re: OVER() clause in ignite

2018-10-24 Thread Mikael
Hi! I am not sure, but you might find something useful here: https://stackoverflow.com/questions/6249449/is-h2-database-able-to-make-sql-query-of-the-over-clause-with-aggregate-function Mikael Den 2018-10-24 kl. 08:55, skrev Sriveena Mattaparthi: Thanks Mikael..Could you please suggest any

Re: Why Ignite use so many heap space?

2018-11-08 Thread Mikael
even index of heap it should work fine, but i guess it all depends on what your application do. Mikael Den 2018-11-08 kl. 14:07, skrev yangjiajun: HI. I have an ignite node which is version 2.6 and has fixed 12GB heap memory and 30GB data region.I use it as a database with persistence.It uses 90%-9

Re: Ignite startu is very slow

2018-11-15 Thread Mikael
Hi! This one looks a bit fishy to me: "Failed to wait for initial partition map exchange. Possible reasons are:..." Do you use transactions ? Mikael Den 2018-11-16 kl. 07:09, skrev kvenkatramtreddy: Hi Team, I am using Snapshot version of 2.7(Ignite ver. 2.7.0.20180806#1970010

Events question

2018-11-09 Thread Mikael
, is that possible ? It sounds like keeping lots of events around after they have been triggered would be wasting memory, or maybe it would not make any difference ? Mikael

Re: WAL iteration exceptions

2018-10-03 Thread Mikael
Hi! I got a few of them before with 2.5, have not seen any yet with 2.6, it was actually a warning before but was changed to info, I was told it's not a problem and nothing to worry about, as far as I can tell no data was ever lost. Mikael Den 2018-10-03 kl. 21:48, skrev Raymond Wilson

Re: Ignite Persistence Storage : Full data is stored in all activated nodes just local Data?

2018-10-09 Thread Mikael
Only the data for that node is stored there, backup data on backup nodes, primary data on primary nodes and so on. Mikael Den 2018-10-09 kl. 17:27, skrev ApacheUser: Hi Team, How does the data stored when the persistenc eis enabled? Does Ignite Store all data in all Nodes enabled

Re: Problems are enabling Ignite Persistence

2018-10-01 Thread Mikael
Yes it works fine with just one node, I do it all the time for testing. Mikael Den 2018-10-01 kl. 09:06, skrev Ilya Kasnacheev: Hello! Due to https://apacheignite.readme.io/docs/baseline-topology your cluster should indeed auto-activate on a second run provided that all nodes which were

BinaryObject vs a HashMap

2018-10-02 Thread Mikael
ject as a simple key/value storage or would I be better of using a POJO or HashMap ? What I don't get is if there is some meta data stored behind the scenes for each different type of binary object I create or if it's fine to have all binary objects in a cache all being different. Mikael

Re: Troubles in restarting Ignite with persistence enabled

2018-10-02 Thread Mikael
far only tested with one node, I have not run for that long time yet though, around 5 days at the time so far. Oh, you are not the last one by the way, I do all configuration of Ignite in Java ;) Mikael Den 2018-10-02 kl. 10:50, skrev Hamed Zahedifar: Hi Gianluca Maybe it`s for JVM

Re: Cluster is losing data, even when I have backups.

2018-10-07 Thread Mikael
Hi! Do you actually have the backups ? the chart is for 25 minutes, had it been running longer time ? just in case those 4.7M entries are big it might take some time to rebalance everything and get the backups distributed to all nodes. Mikael Den 2018-10-06 kl. 17:18, skrev Chris Berry

Re: Configuration does not guarantee strict consistency betweenCacheStore and Ignite data storage upon restarts.

2018-10-09 Thread Mikael
enabled), you must tell Ignite to include it (set base line topology). Mikael Den 2018-10-09 kl. 21:00, skrev the_palakkaran: Did not fully understand what it says, but does it like even if values in my DB is changed, it wont automatically get updated into the ignite cache? Or is the concept

Re: What is H2 Database.

2018-09-21 Thread Mikael
It's a Java based SQL database ( http://www.h2database.com/html/main.html ), the H2 parser is used in Ignite for the SQL parsing, they pretty much took the H2 database and replaced the storage part with Ignite instead. Den 2018-09-21 kl. 07:59, skrev Malashree: What is H2 Database how it

Re: IgniteCache.size() for different cache show the same number

2018-09-27 Thread Mikael
It's the same cache you are using for both data types so 10 is the correct return value, otherwise you need to create two different caches Mikael Den 2018-09-27 kl. 09:05, skrev kcheng.mvp: here is my code public IgniteCache comment() { return igniteSpringBean.getOrCreateCache

Re: Question about write speed.

2018-12-29 Thread Mikael
them ? I have an application that writes around 15000+ records per second on a single node with streaming without problems (affinity string keys and small values, <100 bytes), and it can handle around 5000 entries per second with put( set), all with persistence enabled. Mikael Den 2018-12

Re: ignite questions

2018-12-31 Thread Mikael
ups. Mikael Den 2018-12-31 kl. 14:01, skrev Clay Teahouse: Hello All, I am new to ignite and have several general questions. I'd appreciate your feedback. 1) Cache groups: according to the ignite documentation, cache groups help with scaling and performance but might hurt reads. Where is the bala

Re: ignite questions

2019-01-02 Thread Mikael
value, so a node with attribute x will be assigned all affinity keys with value y. I never tried it but I do not see any reason why it would not work. Mikael Den 2019-01-02 kl. 17:13, skrev Clay Teahouse: Thanks Mikael. I did come across that link before, but I am not sure it addresses my

Re: Did anyone write custom Affinity function?

2018-12-18 Thread Mikael
for affinity key, say you have 10 nodes and you use a "customer id" as affinity key and you only have 8 customers it will not work of course. Mikael Den 2018-12-18 kl. 06:24, skrev ashishb008: I want all nodes in a cluster to have equal number of cache partitions. With default Affinit

Page size

2018-12-18 Thread Mikael
performance will not be the best with 4kb page size for this but maybe I should try to store them some other way, would IGFS be a better choice for very large values ? IGFS just store the files in a k/v cache anyway ? Mikael

Re: Did anyone write custom Affinity function?

2018-12-18 Thread Mikael
id's in some way ? if you for example had 30 group id's you would have a much better distribution of the entries. Mikael Den 2018-12-18 kl. 15:14, skrev ashishb008: Hello, As of now, we have 3 nodes. We use group ID as affinity key, and we have 3 group IDs (1, 2 and 3). And we limit cache

Re: Best Practises for upgrading Ignite versions

2018-12-12 Thread Mikael
Hi! Yes either that or startup another cluster and switch over to that before shutting down the old, as far as I understand Gridgain has a solution for rolling updates. Mikael Den 2018-12-12 kl. 01:15, skrev Anand Mehta: Hi, We are going to upgrade our Ignite Distributed Clusters from

Re: Infinispan vs Ignite?

2018-12-10 Thread Mikael
the data and so on). Mikael Den 2018-12-11 kl. 05:04, skrev the_palakkaran: Andrey,. I am trying to set up a distributed datagrid for my application. With Ignite, I can create a cluster of cache nodes for this purpose. This can alao be achieved on infinispan I believe. So what really makes

Re: SQL support for (insert if not exists, update if exists) operation.

2018-12-05 Thread Mikael
I guess you have to use UPDATE/INSERT, if the records exists most of the time it's not a huge performance killer: if( update ... == 0) insert Mikael Den 2018-12-05 kl. 11:37, skrev Ilya Kasnacheev: Hello! Then answer seems to be "no" then, I guess. Regards, -- Ilya

Re: Long activate time with tens of millions data

2018-11-21 Thread Mikael
Hi! Do you use persistence ? if so, do you have 150 different cahes ? if that is the case I would think trying to use cache groups would help a lot if that is possible for you Mikael Den 2018-11-21 kl. 09:03, skrev yangjiajun: I have a ignite node which is version 2.6.I use

Re: Question about add new nodes to ignite cluster.

2018-11-26 Thread Mikael
e, if your nodes does not store data they do not need to be part of the topology, they can still do everything else. Mikael Den 2018-11-26 kl. 10:20, skrev Justin Ji: I added 3 nodes to existing cluster, but not add them to topology, like below: Cluster state: active Current topology version: 93

Re: Use case difference between CacheLoader, CacheWriter and CacheStore?

2018-11-27 Thread Mikael
both, |CacheLoader| and |CacheWriter|." Mikael Den 2018-11-27 kl. 10:35, skrev the_palakkaran: Hi, What is the difference in use case between CacheLoader, CacheWriter and CacheStore ? CacheStore contains implementations for methods in the other two, so why should I use them is wha

Re: Failing to create index on Ignite table column

2019-01-07 Thread Mikael
? the only things I can think of is if the binary marshaller did complain about your column names, it does not store the names, just a hash code so in theory you could get a name collision but if that was the case I think Ignite would complain when you created the cache. Mikael Den 2019-01-07

Re: ignite questions

2019-01-02 Thread Mikael
You can find some information about capacity planning here: https://apacheignite.readme.io/docs/capacity-planning About your India example you can use affinity keys to keep data together in groups to avoid network traffic. https://apacheignite.readme.io/docs/affinity-collocation Mikael Den

Re: After upgrading 2.7 getting Unexpected error occurred during unmarshalling

2019-01-08 Thread Mikael
Hi! Any chance you might have one node running 2.6 or something like that ? It looks like it get a different object that does not match the one expected in 2.7 Mikael Den 2019-01-08 kl. 12:21, skrev Akash Shinde: Before submitting the affinity task ignite first gets the affinity cached

Re: Ignite distribution configuration.

2018-12-02 Thread Mikael
can work with, you can always play around with the cache configuration later. Mikael Den 2018-12-03 kl. 07:59, skrev Viraj Rathod: I’m a new user of apache ignite. I want to know if my data is supposed to be partitioned amongst 3 nodes and data of each node is supposed to have a backup

Streamer for updates ?

2019-02-28 Thread Mikael
Hi! If I have to update a large number of items in a cache (same keys, new values every few seconds), but it's the same keys so I need to have allow overwrite enabled, is there any advantage of using a streamer for this or is it better to just collect them in a map and use putAll ? Mikael

Re: Ignite authentication without persistence enabled?

2019-06-04 Thread Mikael
Hi! You only need persistence for the default data region, you can put your caches in a different data region without persistence, that's what I do. Mikael Like:         class="org.apache.ignite.configuration.DataRegionConfigur

Re: What do master node and worker node mean?

2019-08-28 Thread Mikael
Master node is the node where the class is originating from. Den 2019-08-28 kl. 11:51, skrev 李玉珏: hi, In the following documents: Https://apacheignite.readme.io/docs/deployment-modes#overview What do master node and worker node mean?

Re: Ignite Performance - Adding new node is not improving SQL query performance

2019-09-09 Thread Mikael
SQL queries on persisted data so you do not have any use of the new node unless it is part of the baseline, that is my understanding on it. Hopefully someone with better knowledge than me will step in and give you a more detailed answer (and correct me if I am wrong). Mikael Den 2019-09-09

Re: Ignite Performance - Adding new node is not improving SQL query performance

2019-09-09 Thread Mikael
scale in an existing topology by setting more or fewer nodes that will store the data. The sections below show how to use the APIs and tools." Mikael Den 2019-09-09 kl. 11:31, skrev Muhammed Favas: Hi, I have an ignite cluster with 4 node(each with 8 core, 32 GB RAM and 30 GB Disk)  with native p

Iterator for keys only ?

2019-09-11 Thread Mikael
Hi! What is the best way to iterate over the keys only from a cache ? I don't want the values because these are long text strings so will slow down the iterator a lot. Pretty much the Ignite way of doing map.keySet().iterator(); Mikael

Re: Thick client multiple clusters

2019-09-17 Thread Mikael
Can't you just start multiple clients in the same JVM, one for each Ignite cluster ? I assume you will have your own code running there anyway. Mikael Den 2019-09-17 kl. 13:28, skrev reachtovishal: Hi, We are trying to see if Apache ignite can be used in our org. As part of this , we wanted

Re: ML stable and performance

2019-09-06 Thread Mikael
-learning Mikael Den 2019-09-06 kl. 11:50, skrev David Williams: I am evaluating ML framework for Java platform. I knew Ignite has ML package. But I like to know its stability and performance for production. Can Ignite ML code run in distribute way? Except its own ML package, which ml packages

Log4j2 problem

2019-07-17 Thread Mikael
Hi! I have setup the log4j2 logger and everything works fine until I shutdown the application (2.7.5), I run it with ignite.bat and I have my own code in a LifeCycleBean, I have some code in beforeNodeStop() and some code in afterNodeStop() and it looks like the log4j2 logger stops working

Re:

2019-11-01 Thread Mikael
"Affinity Key Mapper" sections here: https://apacheignite.readme.io/docs/affinity-collocation Did you consider the idea of using multiple caches ? that would be much easier to implement if it is a possible solution for you ? Mikael Den 2019-11-01 kl. 03:01, skrev BorisBelozerov: H

Streamer question

2019-10-30 Thread Mikael
Hi! If a data streamer with allow overwrite set and I write the same key multiple times to the streamer, is it clever enough to notice this and just replace the key with the last value before it flush the data or will it write the same key multiple times ? Mikael

Re: query if queue exist and get it like getOrCreateCache

2019-11-14 Thread Mikael
Hi! If there is a queue created already with the name "abc" it will just return that queue, if it cannot find it and you have included a configuration it will create it. Mikael Den 2019-11-14 kl. 13:30, skrev Narsi Reddy Nallamilli: Hi Mikael, Do you mean the 4th statement will

Re: Ignite.Net Read through approach - error : could not create .Net cachestore

2019-11-13 Thread Mikael
if it will find that one ? It sounds like it cannot create the actual cache store but in that case I would think you would get the exception in the server and not the client, is there any more useful information from the exception ? Mikael Den 2019-11-14 kl. 02:41, skrev Sudhir Patil: Hi All

Wait for streamer to "finish" ?

2019-11-12 Thread Mikael
to finish so that the entries are actually in the cache before I continue ? I just realized I have not checked if the entries are actually there, is it possible that the entries are there and it's just not the size that is reported correct yet ? Mikael

Re: Ignite data loss

2019-11-15 Thread Mikael
will see all it does at startup and can see if there is something weird going on, it's lots of information but it usually gives a good indication if there is any problem, nothing else in the logs ? if the nodes clear everything at startup there should be something in the logs. Mikael Den 2019

Re: Does ignite suite for large data search without index?

2019-11-21 Thread Mikael
ion either but it should work. Is it fixed to 15 columns ? or will you have to add more columns in the future ? Den 2019-11-21 kl. 10:56, skrev c c: HI,Mikael Thanks for you reply very much! The type of data like this: member [name, location, age, gender, hobby, level, credits

Re: Does ignite suite for large data search without index?

2019-11-21 Thread Mikael
it is possible to arrange the data in some other way to improve everything Did you test with a single node or a cluster of nodes ? with more nodes you can improve performance as any search can be split up between the nodes, still, some kind of index will help a lot. Mikael Den 2019-11-21 kl. 08:49

Re: Actual size of Ignite caches

2019-11-22 Thread Mikael
Don't think there is any direct way to do it, but you can read out the metric for your data regions and see how much memory is used and how much is free, that would give you a good indication of memory usage Den 2019-11-22 kl. 13:01, skrev ashishb888: Yes I am talking about physical size in

  1   2   >