Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

We have a current Azure Premium instance running with no problems at around 1k operations per second. We've created a new Azure Managed Redis instance. We naively thought just updating the connection ...
Tom Gullen's user avatar
1 vote
1 answer
28 views

StackExchange.Redis.RedisTimeoutException: Timeout awaiting response (outbound=0KiB, inbound=4KiB, 6000ms elapsed, timeout is 3000ms), command=EXISTS, next: GET mykey, inst: 0, qu: 0, qs: 0, aw: True, ...
Vivek's user avatar
  • 39
1 vote
0 answers
41 views

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 ...
Sachin Ram's user avatar
1 vote
0 answers
141 views

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....
starlight54's user avatar
  • 1,101
1 vote
0 answers
37 views

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 ...
phaneendra yandrapragada's user avatar
2 votes
1 answer
82 views

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 ...
Elzo Lubbers's user avatar
2 votes
0 answers
87 views

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 ...
DomH's user avatar
  • 43
-3 votes
2 answers
89 views

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 ...
Thomas's user avatar
  • 525
0 votes
2 answers
113 views

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 =...
H.G. Sandhagen's user avatar
0 votes
1 answer
168 views

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 ...
mehdi bennie's user avatar
1 vote
1 answer
123 views

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 ...
Marat's user avatar
  • 35
0 votes
1 answer
258 views

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 ...
Myles J's user avatar
  • 2,890
0 votes
0 answers
528 views

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
0 answers
52 views

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 ...
benny Russell's user avatar
0 votes
0 answers
45 views

I have following Docker Compose file. version: "3.7" services: redis: image: redis:7.4.2 container_name: hub-redis ports: - "6379:6379" environment: - ...
user203687's user avatar
  • 7,337
1 vote
1 answer
140 views

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 ...
Sachin Ram's user avatar
0 votes
1 answer
59 views

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
1 answer
204 views

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: "...
Eugeniy  Maksimov's user avatar
0 votes
0 answers
122 views

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,318
1 vote
2 answers
155 views

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-...
Minh Giang's user avatar
0 votes
0 answers
40 views

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
64 views

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
1 answer
212 views

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 ...
pikkabird's user avatar
  • 147
0 votes
1 answer
14 views

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 ...
starkk92's user avatar
  • 5,974
0 votes
1 answer
1k views

I have a service that can produce some data. And some others that are consuming that data. The consumers can request the data over masstransit. But as producing that data is relatively expensive and ...
ZorgoZ's user avatar
  • 3,758
1 vote
0 answers
847 views

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
3 votes
2 answers
251 views

I am using the HybridCahce implementation from .net 9, with a DragonFly instance as the distributed cache, and works as expected with: builder.Services.AddStackExchangeRedisCache(options => options....
ZorgoZ's user avatar
  • 3,758
-1 votes
1 answer
576 views

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
1 vote
2 answers
102 views

This is my test for my cache in program: [Fact] public async Task Cache_Works_Correctly() { const string testkey = "69"; const string testvalue = "Nice"; var ...
HellAbyss 's user avatar
3 votes
2 answers
2k views

I'm sure the issue here is not with StackExchange.Redis but something in our Azure App Service config/startup/setup. We have been using StackExchange.Redis happily for years. We migrated an Azure App ...
neil thompson's user avatar
1 vote
0 answers
93 views

Can someone help me identify what is the bottleneck here in my Redis Master-Replica setup? Adding some of my observations This is happening randomly This suggest that a timeout has occurred while ...
Anshuman Chatterjee's user avatar
0 votes
1 answer
100 views

I am using Azure Redis and I cannot get this simple search to work What am I doing wrong? When I search for a specific key which I know is in the cache its not found? private async Task ...
Paul's user avatar
  • 3,393
2 votes
1 answer
124 views

If I use CommandFlags.FireAndForget inside a transaction with StackExchange.Redis, does this flag actually do anything? Or does the transaction completion wait until the Fire and Forget command has ...
Simon Hardman's user avatar
0 votes
1 answer
37 views

I am in the process of replacing a basic file serving API call which looks like this: return Results.File("myfile.pdf", MediaTypeNames.Application.Pdf, enableRangeProcessing: true); If I ...
Jan Martin's user avatar
3 votes
1 answer
289 views

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,617
2 votes
0 answers
215 views

I cannot connect to my local redis through my go project. I am starting redis using docker compose like so: redis: image: redis:6.2.3-alpine platform: linux/x86_64 ports: - 6379:...
nespondev's user avatar
0 votes
0 answers
329 views

I can see this error in my logs: StackExchange.Redis.RedisTimeoutException: Timeout performing SMEMBERS (5000ms), inst: 206, qu: 204, qs: 0, aw: True, bw: Starting, rs: ReadAsync, ws: Idle, in: 0, in-...
Noob's user avatar
  • 2,845
0 votes
1 answer
601 views

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
121 views

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
185 views

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
2 votes
1 answer
5k views

I am trying to use Valkey with the IDistributedCache interface in C#. I have pulled the Valkey container using docker pull valkey/valkey and I am running it on the default port 6379. However, there ...
devbert_5095960's user avatar
2 votes
1 answer
261 views

I am trying to implement a Redis Distributed cache into a Net Framework 4.8 application. I am in the unfortunate position of having to downgrade a solution that was working perfectly fine in Net Core ...
Code Vader's user avatar
0 votes
0 answers
165 views

Currently using Redis instrumentation otel.WithTracing(tracing => tracing.AddRedisInstrumentation("name", connection, null)) in Program.cs to get traces and it works, but for each ...
joacar's user avatar
  • 961
0 votes
1 answer
315 views

I'm trying create a demo in ASP.NET Core 8 to save data in Redis cache. Everything works perfectly when I use localhost:6379. But when my app.net container is running and try to communicate with the ...
CerraossoUC's user avatar
3 votes
0 answers
73 views

I am connecting to redis aws elasticache , signal r application is broadcasting messages just fine with it, however getting below exception logged in error log - StackExchange.Redis....
vishakha's user avatar
1 vote
0 answers
71 views

Code is as below - services.AddSignalR() .AddStackExchangeRedis("*****.*****.com:6379", opts => { opts.Configuration.ChannelPrefix = &...
vishakha's user avatar
1 vote
0 answers
70 views

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
237 views

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
0 votes
0 answers
105 views

We have Kubernetes cluster in which we have deployed a Redis instance using Helm chart chart=redis-9.4.3 , Disk is 8gb for persistence via AOF way. Image : docker.io/bitnami/redis:5.0.5-debian-9-r169 ...
RahulJha's user avatar
0 votes
0 answers
495 views

I'm trying to implement Redis caching in our sitecore setup, but I'm having trouble doing so. We are running dotnet framwork 4.8 in a containerized setup. I've install StackExchange.Redis Nuget ...
Lasserh's user avatar
  • 475

1
2 3 4 5
23