All Questions
Tagged with stackexchange.redis redis-cluster
42 questions
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
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
0
answers
36
views
Redis Enterprise Cluster Mode - Pagination Error "StackExchange.Redis.RedisServerException: 'Could not send query to cluster'" and Ops/Sec Discrepancy
I have set up three Redis Enterprise Docker Containers in Clustered Mode. Currently, I’m trying to check the performance of Redis Enterprise in cluster mode after pushing 5 million records. I'm facing ...
1
vote
0
answers
77
views
Microsoft.Web.SessionStateProvider - Timeout Performing EVAL
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 ...
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
...
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 ...
1
vote
2
answers
339
views
How do microservices know Redis keys to access data in Redis
I have been searching a lot concerning how microservices access Redis data but no luck finding good tutorials. Here is my use case.
A user logs into the authentication microservice A (spring boot) for ...
2
votes
1
answer
928
views
StackExchange.Redis with Redis Cluster: PubSub always consuming from one shard
I am using the StackExchange.Redis library in C# and have come across an issue related to Redis Cluster and PubSub functionality.
Setup
Redis Cluster with multiple shards.
Many subscribers in the ...
0
votes
2
answers
869
views
How to SYNC Redis master-replica on a remote host from a Windows Powershell script?
So I'm trying use the SYNC Redis command over an ssh session from a PowerShell script to sync data between a master-replica Redis databases (which are hosted on remote Linux hosts). Due to the ...
1
vote
0
answers
48
views
Why redis max expired keys is the maximum written keys of per second divided by 4
Why redis max expired keys is the maximum written keys of per second divided by 4.
The redis cycle deletion strategy is based on probability.I think even if the keys sampled each time are different, ...
0
votes
0
answers
2k
views
The timeout was reached before the message could be written to the output buffer
I'm trying to connect to the AWS Redis instance via the below c# code.
var option = new Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions
...
3
votes
1
answer
13k
views
How to setup username and password in redis?
Tying to setup username and password for redis (6). Have seen some documentation that helps setting up a password for redis. Is there a way I can set both the username and password?
7
votes
0
answers
2k
views
Connection to AWS MemoryDB cluster sometimes fails
We have an application that is using AWS MemoryDB for Redis. We have setup a cluster with one shard and two nodes. One of the nodes (named 0001-001) is a primary read/write while the other one is a ...
2
votes
1
answer
762
views
What happens when you don't UNWATCH WATCH'd keys in Redis
While poking through Redis I came across the WATCH command -- which is a facet of Redis transactions.
The related section on Transactions explains in a bit more detail, how WATCH can work with other ...
0
votes
1
answer
589
views
Redis Cache: Best mode to choose when several applications would write/read the data
We have multiple applications (approx. 500) hosted on different servers (IIS). For caching purposes, .Net Enterprise Library (in-memory) is being used currently. But this is an overhead for the ...