Skip to main content

All Questions

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 ...
Katie's user avatar
  • 1
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 ...
diggsit's user avatar
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: ...
Mensur's user avatar
  • 1,308
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; ...
ANEES's user avatar
  • 318
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 ...
Prabir Choudhury's user avatar
1 vote
0 answers
505 views

Redis Sentinel: The ConnectionMultiplexer is not a Sentinel connection. Detected as: Standalone Error

Our project is a .NET 8 API project, and we are using Redis version 2.8.0 as a caching mechanism. However, we are randomly encountering an error that shows "Sentinel: The ConnectionMultiplexer is ...
CaglarAyhan's user avatar
0 votes
1 answer
308 views

Redis timeout when there are a large number of keys

My WebAPI is written using the .NET framework 4.7.2 and i also use RedisStackChange 2.8.0. I had a problem when the number of keys in redis reached about 7 million keys: StackExchange.Redis....
Khang Viet's user avatar
0 votes
0 answers
166 views

Collect StackExchange.Redis metrics

I need to collect basic redis connection metrics, at least message duration. Is there any way to do it for StackExchange.Redis library and its ConnectionMultiplexer? I've found OpenTelemetry....
Shad's user avatar
  • 4,464
3 votes
1 answer
183 views

Why does the KeyAsync loop hang when scanning Redis keys with StackExchange.Redis?

I'm trying to scan all Redis keys that match a specific pattern using the StackExchange.Redis library. However, my code hangs at the await foreach statement while scanning the keys. Here’s what I have:...
nop's user avatar
  • 6,439
0 votes
0 answers
68 views

Subscribe to receive notifications from Redis cluster using StackExchange.Redis

I'm trying to write a straightforward .Net app that will subscribe to a cluster of Redis nodes, to receive change notifications. The cluster configuration is the following: ➜ redis-cli -h 10.0.255.86 ...
orlin's user avatar
  • 73
0 votes
1 answer
395 views

.NET Amazon Elasticache - Redis cluster random timeout errors

Recently we introduced storing user session data on Amazon's ElastiCache through Redis Cache. I was a little worried of the speed and latency issues of this solution as before the session data was ...
nyduss's user avatar
  • 87
1 vote
1 answer
81 views

Handle Redis values from processing more than once in multi-instance deployment

In .NET API I have a background service that executes every 0.1 seconds, this gets all values from a redis hash key, and runs a for loop with those and then processes those inside the for loop. The ...
Jetonii's user avatar
  • 13
0 votes
1 answer
160 views

Azure Redis Cache not found in AzureClientFactoryBuilder Isolated .NET 8

I'm working on an Isolated .NET 8 Azure Functions project I want to use Azure Redis Cache using the IServiceCollection and AzureClientFactoryBuilder in the program.cs file. I'm able to use ...
Alejandro Alvarez's user avatar
1 vote
0 answers
66 views

Is there a way to add List<T> to redis in c#?

Is there a way to add List<T> to Redis in c# , but then when I retrieve the List from Redis , I should be able to do pagination and sorting? I'm aware of the ability to store in sorted sets ...
ivan's user avatar
  • 11
-3 votes
2 answers
176 views

Redis Stream I need Event Driven Architecture,

When any new message received in the stream, on that time OnMessageReceived event should trigger. public event EventHandler<MqMessageReceivedEventArgs> OnMessageReceived; var result = await ...
Mahesh's user avatar
  • 9

15 30 50 per page
1
2 3 4 5
9