Hi,
I'm just using the cache created by running a local process, see below. This is
just for a POC and works, but I do need to have high performance.
John
using (var ignite = Ignition.Start())
{
QueryEntity[] entities =
{
new QueryEntity(typeof(int), typeof(SimpleTransaction))
};
var cfg = new CacheConfiguration
{
OnheapCacheEnabled = true,
ReadThrough = false,
WriteThrough = false,
KeepBinaryInStore = false,
QueryEntities = entities,
Name = "SimpleTransactions"
};
ignite.AddCacheConfiguration(cfg);
ICache<int, SimpleTransaction> cache =
ignite.GetOrCreateCache<int, SimpleTransaction>(cfg);
-----Original Message-----
From: Maxim.Pudov <[email protected]>
Sent: Friday, April 19, 2019 3:37 PM
To: [email protected]
Subject: Re: cache update slow
Email received from outside the company. If in doubt don't click links nor open
attachments!
________________________________
Hi, the execution time depends on the configuration of your cache and your
cluster. How many node do you have? What is your cache configuration? Have you
tried Ignite data streamer [1] instead of cache.put(K,V)?
[1]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteDataStreamer.html
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
________________________________
This message is confidential and is for the sole use of the intended
recipient(s). It may also be privileged or otherwise protected by copyright or
other legal rules. If you have received it by mistake please let us know by
reply email and delete it from your system. It is prohibited to copy this
message or disclose its content to anyone. Any confidentiality or privilege is
not waived or lost by any mistaken delivery or unauthorized disclosure of the
message. All messages sent to and from Agoda may be monitored to ensure
compliance with company policies, to protect the company's interests and to
remove potential malware. Electronic messages may be intercepted, amended, lost
or deleted, or contain viruses.