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
5
votes
2 answers

ServiceStack.Redis: Unable to Connect: sPort: 50071

I'm using the ServiceStack Redis Client and I was hoping that I could get a clarification on what might cause the following error ... "Unable to Connect: sPort: 50071"? I'm using the "PooledRedisClientManager" object for connections. Thanks for…
4
votes
1 answer

Reason for Redis `dir` path changing dynamically

We are facing an issue with redis, where the 'dir' path for the redis is getting set without any notice. Resulting in the following error (while writing to redis). MISCONF Redis is configured to save RDB snapshots, but is currently not able to…
Viren
  • 5,812
  • 6
  • 45
  • 98
4
votes
1 answer

Getting "No Redis Sentinels were available" when access redis from remote server using ServiceStack.Redis client version 4.0.44

We have a redis configuration with two redis servers. We also have 3 sentinels to monitor the two instances and initiate a fail over when needed. We get the following issue intermittently from some of our…
jakejgordon
  • 4,008
  • 7
  • 36
  • 45
4
votes
1 answer

Redis client for C# (serviceStack) - where is the documentation?

The old version of redis client for c# were using commands like : redisClient.GetTypedClient() But now - as I've seen in examples , it was changed to .As() Question Where is the Api-documentation for all those commands ?…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
3
votes
1 answer

ServiceStack Redis Mq: is eventual consistency an issue?

I'm looking at turning a monolith application into a microservice-oriented application and in doing so will need a robust messaging system for interprocesses-communication. The idea is for the microserviceprocesses to be run on a cluster of servers…
Erik H
  • 1,493
  • 3
  • 13
  • 16
3
votes
1 answer

REDIS Connection Error : Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

We are using ServiceStack.Redis V 4.0.50.0 dll to connect the Azure Cache REDIS. Using the .NET Framework 4.5 and Visual Studio 2013. We want to upgrade the TLS Version 1.0 to TLS V1.2. After changing the version my code is not working. Getting the…
3
votes
3 answers

Best way to implement sort, search & pagination with Redis for maximum performance

I have large data approx 1,00,000 for employee. I have stored this data to one Redis key called "employess". Now there is one screen where I would like to perform search on some field & sort on each column along with pagination. So for that I have…
Kaushik Thanki
  • 3,334
  • 3
  • 23
  • 50
3
votes
1 answer

ServiceStack.Redis throws PlatformNotSupported Exception from unity exported .apk file

I am using ServiceStack. Redis to access my remote Redis Server. It doesn't throw any exceptions when I run it on my PC(Unity Android Environment). After I export .apk file from Unity and run the program on my android phone, it throws…
LALalo
  • 43
  • 3
3
votes
1 answer

ServiceStack Redis client Get(key) removes quotes from string data

I am using ServiceStack.Redis library to work with Redis. To start with, I have implemented this solution. The get/set methods work fine for plain text/string. Now when I save a string with quotes (with escape char), it saves properly (I verify the…
Arjun_TECH
  • 343
  • 1
  • 4
  • 16
3
votes
0 answers

Why ServiceStack.Redis does not use SET Timeout for acquiring lock?

if you look at the code of RedisLock.cs class you can see that it is reading the lock value to validate timeout itself outside Redis and it is also using Watch and Unwatch to overwrite timeout value if nobody touched it. In another words, what are…
Iman
  • 17,932
  • 6
  • 80
  • 90
3
votes
2 answers

How to cache pages with redis in .net core?

I'm somehow beginner in redis and I know it is easy in redis if you want to cache list or object or something like that but I don't know how can I store my web pages in redis? notice that I'm using servicestack as my redis client and for saving data…
hamid hasani
  • 531
  • 2
  • 5
  • 14
3
votes
1 answer

How To: Register ServiceStack's Redis Client Manager singleton in ASP.NET Core using the default container

I've been reading several documents and articles on how to ServiceStack's Redis client, but all of them use the ServiceStack's AppHost method and their built-in Func IOC But I don't want to mix different IOC containers in my project. And besides I…
Sawrub
  • 683
  • 5
  • 16
3
votes
1 answer

Query data, in Redis, by using a field value

Please help me. I've stored data, in Redis, by using C# servicestack.redis libraries. In this case, I stored data from 4 classes. For this case, I want to recover all data, from Redis, by using a value. In the image above, it's shown 4 ids, each…
3
votes
0 answers

Is there TypedClient support in StackExchange.Redis C# client?

I'm comparing capabilities of ServiceStack.Redis and StackExchange.Redis clients. I thought that it might be very useful to use IRedisTypedClient class of ServiceStack.Redis client. Just wondering if is there any equivalent of…
doganak
  • 798
  • 14
  • 31
3
votes
1 answer

What does IRedisClient.As() do behind the scenes?

I'm curently using the c# ServiceStack RedisClient in the following way using (var cache = new BasicRedisClientManager(readWriteHosts).ClientFactory.GetClient()) { var r = cache.As(); var myItem = r.GetById(123); } I…
MartinM
  • 1,736
  • 5
  • 20
  • 33
1
2
3
14 15