1,140 questions
1
vote
0
answers
39
views
I have an ASP.NET Core application that uses Redis as cache but it is recently facing a lot of timeout exceptions
Redis has been recently facing a lot of timeout errors. We are currently using stackExchange.redis or managing Redis in the ASP.NET Core application.
We have used async whenever possible with proper ...
1
vote
0
answers
117
views
How do I find out what's causing these valkey AWS Elasticache requests to timeout?
We have sporadic, but repeatable, timeout issues with valkey at higher loads that we haven't been able to diagnose the root cause of. We're using StackExchange.Redis on the old school .NET Framework 4....
1
vote
0
answers
36
views
Frequent RedisTimeoutException in .NET 9 running on Linux containers with Redis on AWS (v7.0.7)
I am frequently encountering RedisTimeoutException errors in my application. The application is built using .NET 9 and runs in Linux-based containers. Redis is hosted on AWS Elastic Cache with version ...
2
votes
1
answer
79
views
AutoFac DependencyResolutionException when using hybrid cache with redis
I run into a runtime error when using autofac in combination with hybrid cache and redis. I hope someone can explain why this error occurs.
When using autofac to resolve an instance of HybridCache in ...
2
votes
0
answers
86
views
Debugging SignalR Redis backplane issues
We have an ASP.NET Core application (scaled out) with SignalR hubs. A Microsoft.AspNetCore.SignalR.StackExchangeRedis Redis backplane is in place using .AddStackExchangeRedis(). Messages are sent to ...
-3
votes
2
answers
82
views
Using StackExchange.StringSetAsync to set multiple keys with the same expiration
We are currently using the StackExchange Redis library to handle our Redis-database but came across a little snag. Please keep in mind that we are new to Redis, so there might be a better way to do ...
0
votes
2
answers
100
views
Distributed Cache (redis) InstanceName in options of AddStackExchangeRedisCache does not prefix keys
I am new to redis. I have an instance of "Azure Cache for Redis" and try to use it in a .NET 8 client.
Here is my initialization:
// Hostname from Azure Cache for Redis
string redisHostname =...
0
votes
1
answer
153
views
Redis Cache Timeout with .NET Application in AKS
I'm using FusionCache on a .NET 8 backend hosted in AKS with multiple pods. The cache is backed by Azure Redis (C3 Standard). Everything was working fine in dev/staging, but since going live in ...
1
vote
1
answer
121
views
How to use LuaScript with dynamic KEYS and ARGV collections in StackExchange.Redis without losing script caching?
I'm using StackExchange.Redis and want to execute a Lua script that performs SADD operations on multiple sets, where both the keys and values are passed dynamically.
Here's the Lua script I'm trying ...
0
votes
1
answer
246
views
.NET 9 HybridCache tags
I have started using version 9.3.0 of HybridCache in .NET 9 (Microsoft.Extensions.Caching.Hybrid).
It appears that the RemoveByTagAsync method doesn't work in Redis. The cache items remain after ...
0
votes
0
answers
515
views
What could be causing my Redis/Valkey/ElastiCache timeout error?
I'm using a Valkey ElastiCache with StackExchange.Redis on .NET. It's usually working but sometimes I'll get this message:
The message timed out in the backlog attempting to send because no connection ...
0
votes
0
answers
52
views
Redis Timeouts issue
We have a server configuration 4 servers pretty much maxed out specs possible in Azure. They are behind a load balancer. Our ASP.NET web application uses Redis for Session State. We receive ...
0
votes
0
answers
43
views
Centrifugo does not receive messages from Redis
I have following Docker Compose file.
version: "3.7"
services:
redis:
image: redis:7.4.2
container_name: hub-redis
ports:
- "6379:6379"
environment:
- ...
1
vote
1
answer
135
views
Implementation of Sliding expiry in redis cache (IDistributedCache) in ASP.NET
I am migrating my caching mechanism from Memory cache to Redis in a .NET application and using IDistributedCache for abstraction. In Memory cache. Now that I’m switching to Redis, I want to understand ...
0
votes
1
answer
59
views
How does a Redis cluster scale and work along with .NET IDistributedCache along with a cloud based app service?
I have used Redis for caching in .NET using the IMemoryCache implementations for both Redis and SQL Server. It is straight forward and no problem.
I've been trying to understand IDistributedCache ...