Questions tagged [redisclient]
61 questions
9
votes
0 answers
Copy redis database (.rdb file) from a remote server to local
I was given a Redis server that is set up remotely.
I can access data in that and I can do CRUD operation with that server.
But I want the replica of the same database in my local.
I have Redis desktop manager setup in my local. And also…

abhi
- 115
- 1
- 8
8
votes
3 answers
How to configure Redis to persist data after reboot on Linux?
I installed Redis on Ubuntu 16.04. I couldn't find Redis directory nor redis.conf file (tried with: sudo find redis.conf).
My application depends on some data pulled from third party APIs. I store the (processed) data in Redis. My problem is, after…

giliev
- 2,938
- 4
- 27
- 47
7
votes
0 answers
How to pretty print json string from the output of Redis Client on command prompt on Windows 7?
I am running redis client (redis-cli) on Windows 7 command prompt. I am storing data in my redis cache through my Spring Boot Java application in JSON serialized form. When I print data using GET , the output is not pretty printed, as in the…

mantri
- 3,031
- 4
- 16
- 19
7
votes
1 answer
Redis Timeout Expired message on GetClient call
I hate the questions that have "Not Enough Info". So I will try to give detailed information. And in this case it is code.
Server:
64 bit of https://github.com/MSOpenTech/redis/tree/2.6/bin/release
There are three classes:
DbOperationContext.cs:…

Oguz Karadenizli
- 3,449
- 6
- 38
- 73
5
votes
3 answers
Delete Redis keys matching a pattern
I am using Redis hash set to store data in the following format:
hset b1.b2.b3 name test
Now I want to delete this key so I am using the following format:
del b1.b2.*
But it not working so how I delete the Redis key using a pattern?

Suraj Dalvi
- 988
- 1
- 20
- 34
5
votes
2 answers
Multiple HMSET to Redis with Lua script
Due to performance, I need to minimize the number of hops to Redis. I am calling HMSET multiple times from C++ code and I am investigating if it is possible to change this by using Lua script and set multiple Redis hash keys with one call to…

georgeliatsos
- 1,168
- 3
- 15
- 34
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…

Andy Berryman
- 69
- 2
4
votes
1 answer
(error) ERR unknown command 'XTRIM' on redis-cli
I am getting ERROR: "(error) ERR unknown command 'XTRIM'" while running on redis-cli.
127.0.0.1:6379> info
# Server
redis_version:3.2.12
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:7897e7d0e13773f
redis_mode:standalone
os:Linux…

sam
- 81
- 1
- 7
4
votes
2 answers
How to optimize redis cli script to process 50 millions of key
I wrote below bash script to process redis key and value. I've around 45-50 millions of keys in my Redis. I want to retrieve all values and do some processing. To do that my below script is taking 1 hour to process 1 millions of key. In order to…

learn java
- 231
- 3
- 14
4
votes
1 answer
RedisClient to use Lua script with EVAL command
I am using nekipelov/redisclient to access Redis and I need to retrieve multiple hash data with one call to Redis to increase performance.
More specific, I am trying to retrieve multiple hashes like below:
redis-cli --ldb --eval /tmp/script.lua…

georgeliatsos
- 1,168
- 3
- 15
- 34
4
votes
1 answer
ConnectionMultiplexer.Connect breaks while connecting to redis server
I successfully installed the Redis server on my Windows 7 machine.
Did a quick hands on, everything works as expected.
(installed using the MSI installer from https://github.com/MSOpenTech/redis )
I am using the StackExchange redis client C# for…

ankur
- 557
- 1
- 10
- 37
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
2
votes
0 answers
How to use ConnectionPoolConfig + UnifiedJedis + Transaction
I am using ConnectionPoolConfig + UnifiedJedis + Transaction. I am new for the redis using redis.clients 4.4.0-rc1, i have two questions
1 - can i use ConnectionPoolConfig in this way?
2 - Whats is the use of poolConfig.setMaxTotal()? in the code i…

Dattatray Satpute
- 233
- 3
- 15
2
votes
1 answer
Add password on redis server/clients
need some recommendations. I have the redis servers deployed in K8s and they are without the password/authentication. I need to work on adding the passwords to the redis servers and at the same time make sure that to the clients/services using that…

Batman 21
- 53
- 6
2
votes
1 answer
How to configure Redis clients when connecting to master-replica setup?
I have a Redis setup with 1 master and 2 replicas - so totally 3 nodes.
Given that writes can happen only via master node while reads can happen via all 3 nodes, how do I configure the clients?
Can I pass all nodes IP in the IP list and the client…

Ankit Sahay
- 1,710
- 8
- 14