Questions tagged [redisclient]
61 questions
1
vote
1 answer
redis collection atomic lpop all
redis list, a producer keeps lpush. In another thread, consumers periodically take all out from the list, and categorize elements. Because the producer keeps pushing, so the taking-all-out must be done atomically. So is there an effective way to do…

Tiina
- 4,285
- 7
- 44
- 73
1
vote
3 answers
redis client and node js - hgetall method fails with empty results
This is day one for me with redis cilent and node js.
I'm trying to replicate this command that I run via the redis-cli in node.js:
127.0.0.1:6379> HGETALL widgets:9145090003_00:00_00:00
1) "id"
2) "33305"
3) "loc"
4) "jamaica"
5) "days"
6)…

Happydevdays
- 1,982
- 5
- 31
- 57
1
vote
1 answer
Servicestack RedisClient staying connected after being disposed
I am using servicestack for my redisclient in my class.
I have one redis client as the following:
public class MySuperClass{
....
RedisClient client = new RedisClient("localhost", 6379);
public int MySuperProperty{get; set:}
…

Hasan Emrah Süngü
- 3,488
- 1
- 15
- 33
1
vote
1 answer
use publish/subscribe with sider redis C# client
I am using Sider C# Redis client to connect to Redis server running on my windows 7 machine.
https://github.com/chakrit/sider
I am able to fire set/get/select from my C# application
I now want to use the Publish/Subscribe feature so that my C# app…

ankur
- 557
- 1
- 10
- 37
1
vote
1 answer
how to save redis cache data into mongodb using node.js
I have redis client and mongodb, I want to speed up my database, for doing this I am fetching the users details from redis cache and want to save it into mongodb using node.js.
Your answers will be very helpful for…

Irrfan23
- 362
- 5
- 17
1
vote
1 answer
ServiceStack.Redis stores empty object in the cache
I'm trying to implement a redis cache for my c# project. I used redisClient which is good to store normal datatypes like int and strings but not for storing objects. Then I moved to RedisTypedClient which should store my object in redis but it…

Pankaj Basnal
- 55
- 7
0
votes
2 answers
RedisJSON - Manipulating the JSON array of objects (Using Node Redis client)
This is the data
[
{
"senderID": "64d9c926c17fd183a93d5e35",
"receiverID": "64d9c92dc17fd183a93d5e39",
"timestamp": "2023-08-14T07:39:45.946Z",
"content": "bru",
"status": "delivered",
"type": "chat",
"messageID":…

Bruce Armstrong
- 5
- 2
0
votes
2 answers
AttributeError: module 'redis' has no attribute 'RedisCluster'
I'm trying the connect to a redis cluster with the below code.
import redis
ssl_ca_certs=''
r = redis.RedisCluster(
host='',
port=6379,
ssl=True,
password='',
ssl_ca_certs=ssl_ca_certs
)
The…

user51
- 8,843
- 21
- 79
- 158
0
votes
0 answers
Quarkus Decorator for RedisClient
Hi we are using RedisClient to access/update data in Redis from our microservices. What i would like to do is add a decorator around RedisClient calls to add additional information around this call. These calls are not in separate methods to add an…

sg1973
- 91
- 6
0
votes
2 answers
Redis client-side cache (tracking) test
I'm testing Redis client-side caching using redis-cli.
Redis server version: 7.0.11
redis-cli version: 7.0.11
redis-cli 1 I started with the monitor command:
redis-cli monitor
In redis-cli 2 I run the snippet:
HELLO: 3
CLIENT TRACKING ON PREFIX…

Zacarias Eugênio
- 25
- 5
0
votes
0 answers
how to delete all matching keys in redis on teminal
i want to delete keys with matching pattern directly from the redis-cli terminal not running cmd on bash script as given in this thread
/home/ubuntu> redis-cli -h 10.244.0.85
10.244.0.85:6379> --> what should i type here to delete all…

myquest6 sh
- 9
- 4
0
votes
1 answer
How to handle read & write operations in different endpoint using Redis Client
Can we configure two different host for read and write operations in latest redis client version 4.6.5.
I was tried to configure the different redis server host read and write inside the createClient method but could't do that. Is there any other…

Prem
- 1
- 1
0
votes
0 answers
TypeError: Unsupported command argument type: Resque::Worker
I am using resque gem - (1.27.4)
I upgraded my redis-rb gem to 5.0.6 from 3.3.5.
In my rails application, I initialize the Resque's redis instance as follows:
Resque.redis = Redis.new(creds)
Now I understand that in this version redis is using a…

HarshM
- 21
- 6
0
votes
2 answers
How to modify maxmemory on Redis cloud
redis.exceptions.ResponseError: OOM command not allowed when used memory > 'maxmemory'.
Im getting above error and I tried setting up through redis-cli, the maxmemory config is not available. It has only below attribute.
CONFIG GET…

Shashikumar KL
- 1,007
- 1
- 10
- 25
0
votes
3 answers
Sidekiq 7 / Redis-client not working (on Heroku)
I am using Sidekiq on an app hosted on Heroku.
I have been using the redis gem.
Now I am trying to upgrade to sidekiq 7 which uses redis-client instead of redis. And when doing so I get this error:
redis-client requires Redis 6+ with HELLO command…

THR
- 1
- 3