Questions tagged [distributed-caching]

Distributed caching is a cache implementation that uses caches spread across different networked hosts.

424 questions
0
votes
1 answer

Distrubuted Cache platform for ASP.NET

I've got a .NET website and an API interface which sits on top of a VPS (Virtual Server). They both use ASP.NET Caching system (which is pretty nice and comfortable). If it matters - the API system will be ported to WCF at some time. I want to get…
Roman
  • 4,443
  • 14
  • 56
  • 81
0
votes
0 answers

Does Redis support cross replication between master/slave nodes?

Based on Redis documentation, a cluster of two Redis nodes (one Master node and one Slave node) can support replication via the slaveof directive. However, this implies that replication is always performed from Master to Slave. Assuming we don't use…
Greg
  • 68
  • 6
0
votes
1 answer

Hazelcast stream aggregation and other calc is performed on node or client

We are using hazelcast in our project, i would like to know that whatever calculation we do runs on the hazelcast node or the client itself For eg. Imap map = client.get("data"); map.values().stream.... In this example does it get whole map from…
Abhishek
  • 519
  • 1
  • 6
  • 24
0
votes
1 answer

Does apache ignite consume much off-heap memory when native persistence and ignite sql is enabled?

I loaded same amount of data when native persistence enabled and disabled. I noticed that when native persistence is enabled off-heap memory usage increased x4 times. Is it normal?
0
votes
1 answer

Terracotta bigmemory-max client

In a multi stripes distributed cache cluster: 1. How does client requests are balanced between different stripes? 2. Does client fetch/put data only from/to one stripe (which internally might remotely forward the request to another stripe's active…
rom.we
  • 15
  • 2
  • 6
0
votes
2 answers

hazelcast writing to 2 cache from 1 mapstore

I have some data in the database I want to read into 2 cache: 1. Entire json representing row of data 2. Just a subset of columns for quick querying purposes I have a MapStore for persistence to the first cache with the json. I am thinking of…
Pilo
  • 15
  • 3
0
votes
1 answer

How to disable Spring/Hibernate/Hazelcast joint cache?

We use Hazelcast as our Hibernate 2nd level cache manager and we have some configurations for it in our Spring context files. Our code is also instrumented by Spring @Cacheable annotations (for business level cache) and we configured it to use…
faghani
  • 569
  • 1
  • 10
  • 25
0
votes
1 answer

Java JCache String key vs Composite key

I am using JCache for caching web responses. The cache key includes following fields: controller: String action: String parameters: Array I created ResponseKey class and use it as a cache key type: public class ResponseKey implements Serializable…
LHA
  • 9,398
  • 8
  • 46
  • 85
0
votes
1 answer

Failed to load the file in the distributed cache in URI || Getting NULLPointerException

I am trying to write a map reduce job which is doing a sentiment analysis,i am using AFINN.txt as the dictionary. While runnning the map reduce job i am putting it into a file inside HDFS and trying to run but every time it is failing.i am using…
Mandrek
  • 1,159
  • 6
  • 25
  • 55
0
votes
1 answer

Hazelcast IMap not distributed

I am using hazelcast IMap for caching data(key,uuid). In class App static HazelcastInstance hzInstance; @Autowired private static Config config; public static HazelcastInstance hazelcastInstanceM { if…
user2480755
  • 97
  • 3
  • 11
0
votes
1 answer

Hazelcast Map Configuration For Data Backup

1.Trying to create a cluster using Hazelcast. In case of data backup: 1 From the above snippet, just wanted to clarify what does "default" map name stands…
0
votes
2 answers

Moving data from one node to other node in same cluster in Apache Ignite

In a baseline cluster of 8 nodes, we have data in the partitioned template without backup. Assume I have avg 28K entries in all 8 nodes in SampleTable(@Cache). Total data = 28K*8 = 224K entries. CREATE TABLE SampleTable(....) WITH…
rai2048
  • 27
  • 1
  • 6
0
votes
1 answer

Apache Ignite: Pojo vs BinaryObject

I have a custom object which I am converting to BinaryObject (using BinaryObjectBuilder) before putting it into ignite cache. The deep size of my custom object is about 500 bytes, the size of the BinaryObject is a whopping ~8 MB and the size of…
CaptainHastings
  • 1,557
  • 1
  • 15
  • 32
0
votes
1 answer

Apache Ignite BinaryObject Bloat

I have a custom object which I am converting to BinaryObject (using the BinaryObjectBuilder) before putting it into ignite cache. I calculated the deep size of my custom object and it is about 500 bytes. But when I calculate the size of…
CaptainHastings
  • 1,557
  • 1
  • 15
  • 32
0
votes
1 answer

Storing and retrieving values from IDistributedCache (Redis) in .NET Core 2

I have an ASP.NET Core2 application. I am using both builtin and Autofac IoC containers. I am setting up all the component registrations in my Startup.cs file. While doing this, I am also setting up my DBContext which inherits from a custom…