1,144 questions
1
vote
1
answer
41
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
48
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
88
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
28
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
20
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:
- ...
0
votes
1
answer
78
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
36
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 ...
0
votes
1
answer
82
views
Does StackExchange Redis Cache recreate connection on Error in the SetAsync method?
We use the Redis cache for our web-api app. We use the Microsoft.Extensions.Caching.StackExchangeRedis. After some works were made on Redis server, our app has failed to write to the cache:
"...
0
votes
0
answers
54
views
StackExchange.Redis using TLS Certificate Errors
I have installed Redis locally and configured TLS:
redis.conf
tls-cert-file ~/my.crt.pem
tls-key-file ~/my.key.pem
tls-ca-cert-file ~/ca_root.crt
I can use redis-cli to connect to it just fine by:
...
1
vote
2
answers
109
views
Cannot Connect to Redis Cluster inside Docker from Client
I’m trying to set up a Redis Cluster inside Docker using the following docker-compose.yml file:
version: '3.9'
services:
redis-stack-node-1:
image: redis:latest
container_name: redis-stack-...
0
votes
0
answers
34
views
Unable to deserialize the data into TValue
I have following code, which is setting & fetching data from Redis DB.
public void BulkSet(Dictionary<TKey, TValue> keyValues)
{
if (keyValues == null || keyValues.Count == 0) return;
...
0
votes
0
answers
58
views
ConnectionMultiplexer exception caused when trying to invoke webAPI endpoints -
I am facing an exception(ConnectionMultiplexer) message when trying to access a .NetCore 8 webAPI endpoint. I tried to use repositoryPattern in my project so there's a GenericRepository interface. I ...
1
vote
1
answer
124
views
Redis cache busting - "dynamic" keys
We're using Redis for caching in our .NET 8 APIs (Azure Redis for some, Enterprise Redis for others).
Certain API endpoints take query string parameters, and these parameters are factored into the ...
0
votes
0
answers
20
views
Unauthorization error after installing the package Microsoft.Azure.StackExchangeRedis
I'm using Microsoft.AspNetCore.Authorization for Authorization and implemented working fine and authorize with valid token initially, after implementing Redis cache package Microsoft.Azure....
0
votes
1
answer
13
views
Sorted set precondition to check that the new addition has the highest score
We are working on a solution where we want to add a new entity only if the score of this new entity is the highest among all the entities in the existing redis sorted set.
Is there a precondition ...