Questions tagged [servicestack.redis]

ServiceStack.Redis is a simple, high-performance and feature-rich C# Client for Redis with native support and high-level abstractions for serializing POCOs and Complex Types.

225 questions
2
votes
0 answers

Cannot connect to Redis installed on VirtualBox running Ubuntu from Windows 10

I've setup an Ubuntu image on VirtualBox on a Windows 10 host. On the Ubuntu guest I've installed Redis which runs on port 6379 (TCP) by default. I tried to follow the tutorial from youtube https://www.youtube.com/watch?v=rXQRqek3kLw but i get a "No…
2
votes
1 answer

Errors when trying to use StackExchange REDIS in Azure Cloud Service Worker Role

I have a solution hosted in Azure that is using ServiceStack.Redis 2.0.601. App Services (Web API) and On-Premise windows services are all working as expected but the Cloud service worker roles are throwing binding errors. Add Binding redirect and…
2
votes
1 answer

Servicestack csharp client vs Redis or both?

I want caching to maximize response times and database usage. I am trying to determine if I should use the csharp client or Redis or both in my new .netcore services API. It seems to me I should just use Redis. Anyone know if I should use both for…
Steve Coleman
  • 1,987
  • 2
  • 17
  • 28
2
votes
1 answer

ServiceStack.Redis - is sharding supported in sentinel mode?

I'd like to achieve the following high availability setup: 2 master nodes (acting as shards of one logical data set with client keyhashing) 2 slaves (one for each master) 6 sentinels (3 for each pair of master/slave) Now, I know that…
Yury Kozlov
  • 1,286
  • 1
  • 11
  • 9
2
votes
1 answer

Do i need to use RedisLocks ( ServiceStack.Redis )

I currently have an API in aws with autoscaling so I can have from 7 to 12 services running. For my client manager I am doing builder.register(c => new PooledRedisClientManager(conection)); For my client I am doing…
2
votes
1 answer

ServiceStack Redis does not run on AWS Lambda

I am trying to leverage AWS Elasticache (Redis) from my Lambda function using the ServiceStack .Redis.Core library (version 1.0.44). When running the lambda from my local machine (mac osx) everything works fine; I can interact with the AWS Redis…
2
votes
1 answer

ServiceStack Redis: given an arbitrary connection string, how do I test for connectivity to a Redis Cache server?

I would like to know given an arbitrary connection string, how do I test if the connection to a Redis Server is established. Thanks!
icube
  • 2,578
  • 1
  • 30
  • 63
2
votes
1 answer

ServiceStack.Net: Difference between IRedisNativeClient.Eval and EvalCommand

i am new to the ServiceStack.Net Framework and I would like to understand the differences between the following methods: public byte[][] Eval(string luaBody, int numberKeysInArgs, params byte[][] keys) public RedisData EvalCommand(string luaBody,…
wami
  • 435
  • 3
  • 10
2
votes
1 answer

ServiceStack RedisServerEvents creating thousands of keys

I'm using ServiceStack with the RedisServerEvents plugin to notify connected clients of changes in data. I've got two Linux VMs running Apache/mod_mono/ServiceStack, a single Redis instance, and an HAProxy machine in front. Something I'm noticing is…
SeanH
  • 584
  • 3
  • 18
2
votes
1 answer

C# Redis Client exceeded 6000 connections per hour limit

We are getting the following error. We found that we have to upgrade to a premium plan of servicestack. But their License plan is a bit confusing, it says number of developers, can we use this for multiple IIS servers and redis clients that spans…
Shankar
  • 29
  • 3
2
votes
2 answers

Redis keyspace notifications subscriptions in distributed environment using ServiceStack

We have some Redis keys with a given TTL that we would like to subscribe to and take action upon once the TTL expires (a la job scheduler). This works well in a single-host environment, and when you subscribe in ServiceStack, using its Redis client,…
napo
  • 869
  • 9
  • 19
2
votes
1 answer

Unexpected reply on high volume scenario using ServiceStack.Redis

My problem is very similar to this one: Protocol errors, "no more data" errors, "Zero length response" errors while using servicestack.redis in a high volume scenario I'm using ServiceStack v3.9.54.0 in a C# web application working on IIS. I could…
Dinei
  • 4,494
  • 4
  • 36
  • 60
2
votes
1 answer

Servicestack Deserialize Redis Response GetAllItemsFromList

So using lists within Servicestack/Redis, when pulling them back from the server I am getting a list of strings (which each the same CLASS just different data in each one). I did not see a way of using "typed" lists which would allow Servicestack to…
Shawn L
  • 21
  • 1
2
votes
1 answer

Service.Redis Trimming a list

Following tutorials that is using ServiceStack v3 and stuck at when trying to trim a list in V4. What is the equivalent in V4? Trying to google examples but with no luck.
lai tang
  • 169
  • 1
  • 6
2
votes
1 answer

ServiceStack Redis v4.0.52 IRedisClient.Db setter not working as expected

We recently upgraded the ServiceStack DLLs in our project from version 4.0.38 to version 4.0.52. We are making a call like this: var clientManager = new BasicRedisClientManager("127.0.0.1"); var client = clientManager.GetClient(); client.Db = 3; //…
Tim Ojo
  • 103
  • 6