Questions tagged [distributed-caching]

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

424 questions
9
votes
3 answers

Redis Cache in ASP.NET Core

I am new to Redis and using VS 2015 and the ASP.NET Core app (v 1.0), I installed the nugget package: Install-Package StackExchange.Redis However I am not able to inject and configure it into my services, there is no RedisCache or…
8
votes
4 answers

Is Terracotta a distributed cache?

Is Terracotta a distributed cache?
Derek Mahar
  • 27,608
  • 43
  • 124
  • 174
8
votes
3 answers

Appfabric Cache is performing 4x slower than SQL Server 2008 ??

I am running a test where I am comparing fetch time b/w appfabric and SQL Server 2008 and looks appFabric is performing 4x time slower than SQL Server. I have a SQL Server 2008 setup which contains only one table with 4 columns (all nvarchar). The…
7
votes
0 answers

Performance difference in Redis vs etcdv3

I was going through benchmark documentation page of Redis and Etcd. From the benchmark data it seems Etcd is as efficient as…
Rahul
  • 326
  • 2
  • 10
7
votes
2 answers

In-process cache vs distributed cache on consistency with mutable/immutable objects

I heard my colleague saying an in-process cache would be a better option when caching immutable objects, where consistency is not a big issue (eventually consistency). Whereas an external distributed cache is more suitable for mutable objects that…
peter
  • 8,333
  • 17
  • 71
  • 94
7
votes
2 answers

Can I Vary on a custom header?

I'm bucketing User-Agents by device using something like varnish-devicedetect and storing the result in X-UA-Device on the request and the response. I've seen several recommendations to vary on User-Agent. Any reason not to vary instead on…
hurrymaplelad
  • 26,645
  • 10
  • 56
  • 76
7
votes
4 answers

Is Oracle Coherence stable?

Has anyone used Oracle Coherence? It looks very promising at the roadshows. My concern is whether it's a stable and robust enough to implement mission-critical financial solutions. I'd be grateful for any feedback on its performance, robustness and…
magius
  • 901
  • 1
  • 9
  • 18
6
votes
1 answer

Making IDistributedCache thread-safe in .Net Core 3.1

I need to use IDistributedCache in my app and it could be MemoryDistributedCache or RedisCache as an underlying implementation. My understanding those are not thread-safe, so I created my own wrapper with usage of…
AlexB
  • 4,167
  • 4
  • 45
  • 117
6
votes
2 answers

What does a Terracotta server do when it is used as a backend for EHCache with Hibernate?

My DAL is implemented with Hibernate and I want to use EHCache as its second level cache with its distributed capabilities (for scalability and HA). Seeing as EHCache provides distributed caching only with Terracotta my question is what is the role…
Ittai
  • 5,625
  • 14
  • 60
  • 97
6
votes
0 answers

how to load balance jboss4.2.2AS on amazon ec2 with distributed caching

I have an old application which is hard to upgrade to a newer version of jboss. I want to keep the jboss version same(to 4.2.2 AS) and load balance it on amazon EC2 with distributed caching. I am able to load balance it, but I am struggling with…
5
votes
1 answer

Azure Caching ErrorCode:SubStatus Exeeded Quota Limits for this hour

I'm working on an MVC 3 site which is hosted in Windows Azure that is configured to use the DistributedCacheSessionStateStoreProvider for session state which, in turn, uses Azure caching internally. The cache is configured…
Jeff
  • 53
  • 2
5
votes
3 answers

AWS Elastic Beanstalk caching?

I'm looking into hosting a standard Java web app on AWS and the new Elastic Beanstalk (http://aws.amazon.com/elasticbeanstalk/) seems to have most of what we want. The one thing I can't figure out is how to do distributed caching. It seems that AWS…
Matt Hall
  • 2,569
  • 2
  • 23
  • 33
5
votes
1 answer

Does AWS ElastiCache Redis have a significant network latency?

I have a ASP.NET web application on IIS, that caches a lot of data to built-in ASP.NET cache. I want to move caching to Redis and use AWS ElastiCache Redis for that, because all currently my servers don't share their cache. They are hosted on EC2…
5
votes
2 answers

Distributed Lock Service with Windows Server AppFabric Caching

I have an extension method for the Microsoft.ApplicationServer.Caching.DataCache object found in the Windows Server AppFabric SDK that looks like this: using System; using System.Collections.Generic; using…
Shawn Miller
  • 7,082
  • 6
  • 46
  • 54
5
votes
1 answer

Chronicle Map vs Redis vs Koloboke

We have a system where the same dataset(key-value pairs) is used across 50 servers. The number of updates to this dataset is approximately 1000 per hour and has to be replicated across these 50 servers. We have a master system which receives these…
1
2
3
28 29