Questions tagged [distributed-caching]

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

424 questions
0
votes
0 answers

Can JCS be considered an In-Process Cache or a Distributed Cache Or Both?

Can JCS Cache run in a separate JVM Process from the client process? Any links or example will be helpful.
M S
  • 27
  • 6
0
votes
1 answer

Issue with Cache expiration on JBOSS DATA GRID

I am using JBOSS Datagrid (RED HAT XPAAS DATA GRID IMAGE) for distributed caching. Running into issues in getting the cache expiration to work. Based on the documentation…
ignatan
  • 101
  • 1
  • 3
  • 14
0
votes
1 answer

Could not load cache configuration resource file://coherence-cache-config.xml

I am using Weblogic 12.1.2 which contains 1-admin & 3-manage-servers(under 1-cluster) in the same machine.I want to store some data into a cache(distributed) which must be available among all the manager-servers inside a cluster. So I am using…
Kanahaiya
  • 406
  • 2
  • 11
0
votes
1 answer

Iterate over infinispan Cache object

I am using the infinispan cache map in a java project to store my values in key/value format. Can we iterate over these cache map like we iterate java Maps. I need these cache map values/keys later for different operations.
G dangi
  • 188
  • 7
  • 19
0
votes
3 answers

How to abstract out 2 different implementations of cache

I plan to use a distributed cache in my load-balanced webapp. So I'm going to try to abstract out the common functions between apache ehcache and memcached. My goal is to be able to make a simple configuration switch to select the caching solution…
ashitaka
  • 3,928
  • 7
  • 38
  • 43
0
votes
2 answers

Distributed Cache - Terracotta & Ehcache - Client error: Unable to create toolkit

I am implementing a distributed cache using ehcache (2.10.1) and terracotta (open source 4.3.1). I tried with two JVM instances and a terracotta server on a single machine and the code worked as expected without errors. Now I am trying to run the…
RohitChaware
  • 56
  • 1
  • 6
0
votes
1 answer

Hazelcast 3.5.5 - Wan Replication Recovery

Say, we have two Hazelcast clusters located in two locations, namely London and Tokyo and we configure WAN replication in active-active mode to replicate a distributed map between them. If one of the clusters, say London, is completely down. After…
Kin Cheung
  • 870
  • 10
  • 20
0
votes
1 answer

NorthscaleClient does not Set values consistently

I am using NorthscaleClient from Enyim Memcached client libary to store objects in Northscale Memcached Server. Below does not work consistently, assertion fails most of the time. Am I doing anything wrong? // File size is 360kb var…
asyncwait
  • 4,457
  • 4
  • 40
  • 53
0
votes
1 answer

What is it called when two requests are being served from the same cache?

I'm trying to find the technical term for the following (and potential solutions), in a distributed system with a shared cache: request A comes in, cache miss, so we begin to generate the response for A request B comes in with the same cache key,…
Octodone
  • 515
  • 6
  • 13
0
votes
1 answer

Synchronize access to keys stored in distributed cache (SharedCache)

In my project I am using SharedCache as a distributed caching mechanism. There are multiple instances of a service deployed in webfarm which accesses this cached data. The data which is cached is transient and can have updates. I would like to know…
0
votes
2 answers

Performance issue in IMap.unlock() when used with along with EntryProcessor and MapListener in Hazelcast

HZ version : 3.5.3 I'm facing a performance issue in IMap.unlock(key) which takes approx 4-5 seconds to finish execution. The scenario is as follows : I have an employeeList IMap which stores companyId against a list of employees…
0
votes
1 answer

DistributedCache in Hadoop MapReduce-Null pointer Exeception

I have used distributed cache to store a file. But I am getting NullPointerException on using this. Can any one help in resolving this? The file name is given as an argument. public class Placeholder extends Configured implements Tool { …
Barath
  • 107
  • 2
  • 14
0
votes
1 answer

How to create distributed remote cluster using Oracle Coherence

I want to use Oracle Coherence as a distributed remote cluster(having multiple caches) for my applications and applications can connect this remote cluster using TCP-Extend policy. Cache may contain: 1.) [Database Caching]: Database records(Such as…
0
votes
0 answers

.Net Distributed Cache like MongoDB

Is there any library/ framework/ distributed cache solution that operates like MongoDB's replication does? That is it synchronizes data between the nodes pretty quickly and in case of failure the system automatically elects a new master so there is…
MikeM
  • 61
  • 3
0
votes
1 answer

Infinispan - Node Failover and Control over Recovery

Hope all are doing good. I am new to Infinispan and I need help. Say I have a cluster of 3 nodes running in Distributed Mode. Consider the following scenario: Infinispan Version : 7.1.1 No. of Nodes = 3 (NodeA, NodeB, NodeC) Mode =…
arnabkaycee
  • 1,634
  • 13
  • 26