Skip to main content

All Questions

8 votes
2 answers
2k views

Redis Client Side Caching for .Net

Redis 6 has introduced a feature supporting Client Side Caching and is described in here: https://redis.io/topics/client-side-caching I tried out the ServiceStack.Redis and StackExchange.Redis clients,...
Radu Pascal's user avatar
  • 1,337
2 votes
0 answers
1k views

How to archive or delete Redis log file

I am using Redis open source from redis.io. I have configured my redis.conf file and set the loglevel as "warning" from default setting "notice". This helps in reducing the logfile ...
Ashish Shukla's user avatar
0 votes
2 answers
850 views

SignalR and Redis

I've got a project that uses SignalR and a RedisBackplane, we've moved from StackExchange.Redis to ServiceStack.Redis due to Redis Sentinel compatibility issues (Not movable) However, it now looks ...
Stuart.Sklinar's user avatar
0 votes
1 answer
3k views

How can I publish to a ServiceStack.Redis Message Queue using StackExchange.Redis?

I have existing ServiceStack services that I want to switch to StackExchange.Redis one at a time. This involves swapping out senders and eventually receivers. This question is about publishing from ...
Sorrien's user avatar
  • 141
3 votes
0 answers
481 views

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 ...
Iman's user avatar
  • 19.1k
3 votes
0 answers
284 views

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<T> class of ServiceStack.Redis client. Just ...
doganak's user avatar
  • 798
0 votes
1 answer
792 views

Redis cluster ready client

Recently I started learning Redis and have been able to do everything from learning aspect in 32 bit Windows. I am a .net developer and made caching available using Redis using ServiceStack client in ...
Tux's user avatar
  • 13
14 votes
2 answers
10k views

Redis distributed increment with locking

I have a requirement for generating an counter which will be send to some api calls. My application is running on multiple node so some how I wanted to generate unique counter. I have tried following ...
Kamran Shahid's user avatar
1 vote
1 answer
962 views

distinguishing features between stackexchange.redis and servicestack.redis

What are the distinguishing features between stackexchange.redis and servicestack.redis
sourav's user avatar
  • 57
1 vote
1 answer
354 views

Redis lexicographic search in reverse order

I have a sorted set in Redis where I store the userid and last login timestamp. Adding to sorted set (using below code) works like a charm using StackExchange.Redis for C# and I can see the values ...
user2107373's user avatar
40 votes
1 answer
18k views

Difference between StackExchange.Redis and ServiceStack.Redis

Someone can explain the difference about ServiceStack.Redis and StackExchange.Redis c# libraries?
Bruno Brito's user avatar
24 votes
3 answers
46k views

How to store list element in Redis cache

I have used StackExchange.Redis for c# redis cache. cache.StringSet("Key1", CustomerObject); but I want to store data like cache.StringSet("Key1", ListOfCustomer); so that one key has all ...
Neo's user avatar
  • 16.3k
1 vote
1 answer
240 views

Retrieve selection of servicestack redis session objects based on values of properties

I want to update multiple servicestack user sessions that are stored in redis. I want to return all sessions that have a custom property set to a certain value, then I can process them. At the moment ...
richardwhatever's user avatar
17 votes
1 answer
8k views

Can StackExchange.Redis be used to store POCO?

I am trying to evaluate Redis by using two well known C# drivers ServiceStack and StackExchange. Unfortunately I cannot use ServiceStack because it's not free. Now I'm trying StackExchange. Does ...
SomeGuyWhoCodes's user avatar
5 votes
3 answers
24k views

How to increase Redis performance when 100% CPU? Sharding? Fastest .Net Client?

Due to massive load increases on our website redis is now struggling with peak load because the redis server instance is reaching 100% CPU (on one of eight cores) resulting in time outs. We've ...
baskabas's user avatar
  • 343