tagged [redis]

How to archive or delete Redis log file

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 as "" from default setting "". This helps in reducing the logfile s...

ServiceStack.Redis Service availability

ServiceStack.Redis Service availability I am trying to figure out how check the availability of the Redis Client. The simple action of calling the client, will give me this information? Is there a bet...

How to set a string with TTL with StackExchange.Redis

How to set a string with TTL with StackExchange.Redis I'm looking for a way to do a very [simple TTL](http://redis.io/commands/setex) string in Redis: So how do I do the equivalent of the following in...

16 Jun at 10:47

How can I support the Redis sentinel architecture using StackExchange.Redis?

How can I support the Redis sentinel architecture using StackExchange.Redis? My application uses the `StackExchange.Redis` package and I started using the sentinel architecture in order to support hig...

Failed to start redis.service: Unit redis-server.service is masked

Failed to start redis.service: Unit redis-server.service is masked I Installed Redis Server on ubuntu 16.04. but when I try to start the redis service using I receive message: I don't have any idea ab...

How to set TTL to List Values in ServiceStack.Redis?

How to set TTL to List Values in ServiceStack.Redis? I Have a List in ServiceStack.Redis that I want to set a TimeSpan to expire it. In the other word, how to call the following redis command in Servi...

Convert String[] array to RedisKey[] array

Convert String[] array to RedisKey[] array Trying to use I have array of string[] , I am not seeing any examples out there when I search for converting these data types. I am not even sure how to crea...

12 Sep at 11:2

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

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 `IRedisTy...

Redis keyspace notifications with StackExchange.Redis

Redis keyspace notifications with StackExchange.Redis I've looking around and I'm unable to find how to perform a subscription to keyspace notifications on Redis using StackExchange.Redis library. Che...

Redis Stack Exchange how to delete or get keys by pattern

Redis Stack Exchange how to delete or get keys by pattern I installed Stack Exchange redis client in C#. I can only delete one key or array of keys but I don't know how to delete keys with prefix. Or ...

29 Aug at 11:12

regist servicestack without permission?

regist servicestack without permission? i can regist servicestack register service like ``` var responseX = client.Post(new Register { UserName = sicil.Text, ...

Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew

Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew Using homebrew to install Redis but when I try to ping Redis it shows this error: I tried to turn off firewall and edit ...

15 Jan at 02:41

Servicestack.Redis PooledClient()

Servicestack.Redis PooledClient() ``` public class TransporterServicesAppHost : AppHostBase { public TransporterServicesAppHost() : base("TServices", typeof(OTService).Assembly) { } public overrid...

StackExchange.Redis: couple of questions about transactions

StackExchange.Redis: couple of questions about transactions I've got several question about using transactions from StackExchange.Redis: 1. Is it allowed to execute commands in transaction which could...

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

Redis client for C# (serviceStack) - where is the documentation? The old version of [redis client for c#](https://www.nuget.org/packages/ServiceStack.Redis/) were using commands like : `redisClient.Ge...

6 May at 06:10

How to set value with NX option and expire using ServiceStack.Redis?

How to set value with NX option and expire using ServiceStack.Redis? I'm using ServiceStack.Redis to execute commands on REDIS. I would like to simply set value with expire and NX option (which is : s...

ServiceStack.Redis.RedisResponseException: unknown command 'SCAN'

ServiceStack.Redis.RedisResponseException: unknown command 'SCAN' I registered my RedisClient in my ServiceStack app host as follows however, in my Service when I call i

Redis Connections May Not be Closing with c#

Redis Connections May Not be Closing with c# I'm connecting to Azure Redis and they show me the number of open connections to my redis server. I've got the following c# code that encloses all my Redis...

How to format ServiceStack Redis connection string

How to format ServiceStack Redis connection string How can I format the below Redis connection string: Connection string: myIP,keepAlive=180,ConnectRetry=30,ConnectTimeout=5000 I started writing a uni...

11 Mar at 17:29

Is it possible to use a custom URN prefix in Redis?

Is it possible to use a custom URN prefix in Redis? Is it possible to use a custom URN prefix in Redis? I'm trying to find a way to delineate the data in each of our frameworks within a single Redis i...

14 Feb at 16:10

Redis on windows throwing error : READONLY You can't write against a read only slave., sPort: xxxxx , LastCommand:

Redis on windows throwing error : READONLY You can't write against a read only slave., sPort: xxxxx , LastCommand: I am getting this error on my production server, local server it is working fine. It ...

15 Feb at 10:15

Is ServiceStack.Redis 3.9.71 compatible with Redis 2.8.X?

Is ServiceStack.Redis 3.9.71 compatible with Redis 2.8.X? 3.9.71 is the latest BSD versionned version of ServiceStack.Redis. But Redis goes on with BSD licenses. There are merge required changes for r...

16 Jan at 22:52

Redis - query by more than key

Redis - query by more than key I use redis to store user sessions by a guid i generate when the log in. I use that as the key in their session object. If i was to lock a user's account I currently hav...

7 Feb at 07:30

The correct way of using StackExchange.Redis

The correct way of using StackExchange.Redis The idea is to use less connection and better performance. Does the connection expire at any time? And for another question, does `_redis.GetDatabase()` op...

31 Aug at 12:10

ServiceStack.Redis SearchKeys

ServiceStack.Redis SearchKeys I am using the `ServiceStack.Redis` client on C#. I added about 5 million records of using the following pattern and 11 million records of using the pattern . Now I am us...

4 Aug at 15:27