Questions tagged [near-cache]

16 questions
2
votes
1 answer

Hazelcast NearCache doesn't have the expected effect on performance

We have an application running on 1 or 2 nodes, depending on the environment, with a shared cache based on Hazelcast. One of the requests on the application triggers about 1000 requests on this cache (all cache hits). In a single node configuration…
Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
1
vote
1 answer

GridGain Near Cache Not storing data

I have a query re. the setup of the GridGain near cache, we have a single server node with the config as listed below and have a single thick client connecting successfully to it ~
1
vote
1 answer

Hazelcast Near Cache not working with simple example

I'm currently using hazelcast version 3.9 I have tried several ways to implement Near cache and it seems I am not able to find the correct way. Below I have share my code and let me know exactly where I am going wrong. public class…
Tatkal
  • 568
  • 4
  • 9
  • 29
1
vote
1 answer

hazelcast - read-backup-data vs near cache

In IMap configuration there is an attribute read-backup-data that can be set as true which enables a member to read the value from the backup copy, if available, in case the owner of the key is some other…
neeraj
  • 1,191
  • 4
  • 19
  • 47
1
vote
2 answers

How to refresh only near cache in hazelcast

I am new to hazelcast and using it for shared Cache. We have two nodes which are using shared cache. Now, we are having one API exposed which will refresh the shared cache on one node, but, we need to refresh the near cache on each node. If we want…
Krishna Kumar
  • 511
  • 1
  • 9
  • 21
0
votes
0 answers

What is the process to log Hazelcast Near Cache hit/miss in Spring Boot?

How to log Hazelcast Near Cache hit/miss in my spring boot application? I tried going through the documentation of Hazelcast but couldn't find anything related to this. Do I need to implement this manually? Or does Hazelcast provides this…
spring coder
  • 101
  • 2
0
votes
2 answers

GridGain client on K8s fails with error java.lang.NoSuchMethodError: org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.registerH2

We are trying to integrate GridGain into an existing client java based application to create a Thick GG client, for the purpose of in memory caching and to implement a near cache. We have a Kubernetes cluster onto which the main GridGain server is…
0
votes
1 answer

Near cache miss

I have a ignite near cache client with say size of 100(LRU). The cluster behind it has an LRU policy for on-heap with size 10K. Say any record got evicted from the near cache due to the small size of it UPDATE1(but is there in main cluster…
Mudit bhaintwal
  • 528
  • 1
  • 7
  • 21
0
votes
1 answer

Hazelcast sidecar deployment pattern

I am running an application which is a Java process that is deployed on 100s of nodes. I am planning on deploying a Hazelcast instance along with each node in the same VM, as well as enabling near cache on each member. Each app process will use the…
rhari
  • 1,367
  • 1
  • 11
  • 19
0
votes
2 answers

Hazelcast Near Cache is not controlled by Split Brain Protection(Quorum)

I used the embedded hazelcast 4.0.1 in the spring boot project to manage the cache of the project. I set up Near Cache, and also set up the split-brain protection function, which was called Quorum before 4.0. However, I found a problem. For…
TJwoods
  • 65
  • 3
0
votes
1 answer

Hazelcast ensure Near Cache preload on Member

I have a use-case where I need to ensure that the data is loaded to near cache, before working with it. I am using Hazelcast as Cache Manager provider. I do store data in near cache in OBJECT in-memory-format, and do cache local entries. On…
Oleg Kuts
  • 769
  • 1
  • 13
  • 26
0
votes
1 answer

Apache Ignite NearCaches Vs CachMode

Apache Ignite has two concepts, one of them is NearCache, and another one is the CacheMode enumaration. What is the main difference between two concepts?
rafet C.
  • 35
  • 1
  • 4
0
votes
1 answer

To understand Infinispan Behavior in Rebalancing & Async mode

I am new to Infinispan. Even after going through Infinispan User Guide & googling through, I am not able to figure out behavior of Infinispan in below cases : 1) Does it lock on HotRod Client reading when rebalancing is taking place ? 2) How does…
J. P
  • 356
  • 4
  • 20
0
votes
1 answer

Apache Ignite Near Cache Always Missed

When using a near cache everything will work fine until a second client (could be visor) attempts to connect or disconnect to the cluster while a cache operation is in process. After the second client connects/disconnects, the original client will…
timay
  • 35
  • 5
0
votes
0 answers

Exception with Infinispan NearCache in HotRod client accessing Embedded Infinispan server - 8.0.2 & 8.2.2

A Java program embeds a HotRod Infinispan server and the remote Java applications can access the embedded caches using the HotRod API. (Compatibility mode is set to true). This perfectly works fine however when the NearCache is enabled at the…
1
2