redis Questions

4

Solved

In many Redis tutorials (such as this one), data is stored in a set, but with multiple values combined together in a string (i.e. a user account might be stored in the set as two entries, "user:100...
Cheesy asked 26/11, 2012 at 0:19

8

Solved

Installing redis is really easy. I have done it on several VM. But on one instance, I am facing the following problem. [root@server redis-2.4.2]# make cd src && make all make[1]: Entering ...
Gittens asked 15/11, 2011 at 3:8

2

Solved

I have an array which I fill up in a for like this: var obj = []; for(i = 0; i < data.bids.length; i += 1) { obj.push(JSON.parse(data.bids[i][0])); } After that I verify if the array contain...
Coryphaeus asked 8/5, 2018 at 5:33

8

Solved

Suppose my database table structure is like this id name college address 1 xxx nnn xn 2 yyy nnm yn 3 zzz nnz zn If i want to get the student details based on the name in sql like this select * ...
Prism asked 25/1, 2014 at 6:19

2

Solved

When a master goes down in a Redis cluster, Redis will wait for node timeout to promote slave to master. There may be additional time taken for slave promotion to master. During the time mast...
Lactic asked 18/6, 2020 at 18:35

2

I have created a Storm topology which connects to Redis Cluster using Jedis library. Storm component always expects that Redis is up and running and only then it connects to Redis and subscribes th...
Matchbook asked 18/6, 2018 at 11:14

1

Solved

I am trying to create a timeseries in Redis using python like so: import redis connection_redis = redis.Redis(host='127.0.0.1', port=6379) connection_redis.ts().create('ts', retention_msecs=0) ...
Nonrepresentational asked 27/7, 2022 at 9:8

9

Solved

Instade of move I want to copy all my keys from a particular db to another. Is it possible in redis if yes than how ?
Betancourt asked 22/4, 2014 at 14:36

2

Solved

I am using Node Redis with this config: import redis from "redis"; import { promisify } from "util"; import config from "../../appConfig"; const redisUrl = config.RED...
Rothrock asked 31/3, 2021 at 18:4

8

By using phpredis, I have saved some data in pagination like this: review/itemA/1 review/itemA/2 where 1 and 2 are page numbers. I read in the document that you can use wildcards to retrieve...
Naara asked 30/8, 2015 at 10:20

3

Solved

I just read that Redis is "persistent". Does that mean that it is stored in the hard disk? If yes, how can it be faster than MySQL, which is also hard disk based? Obviously, I am just a beginner, s...
Cleanlimbed asked 28/7, 2014 at 6:47

4

I want to take backup of a particular key in my redis which have multiple keys. My redis has many keys and I don't want to take full backup of my redis data. I have been going through http://redis....
Transfix asked 18/2, 2014 at 7:14

4

Solved

I'm using RedisTemplate(from Spring) in my Java app. I need to do pop from a list of elements correspondenting for values, but without removing it. Any suggestions?
Duplicate asked 4/6, 2012 at 14:7

8

Solved

I'm trying to run sidekiq worker with Rails. When I try to docker-compose up worker I get the following error: worker_1 | Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) worker_1...
Foment asked 11/1, 2016 at 19:44

2

Looking at the Redis image, https://hub.docker.com/_/redis, it says that it supports Arm64. However when I run the image on a Mac M1, it shows an AMD64 warning badge (i.e. poor performance due to R...
Phylloquinone asked 12/7, 2022 at 18:58

3

Solved

We know that ElastiCache is not recommended to be accessed outside Amazon instances, so we're trying below stuff inside Amazon EC2 instances only. We've got a ElastiCache Redis Cluster with 9 ...

2

I am following RetwisJ tutorial available here. In this I don't think Redis transactions are implemented. For example, in the following function, if some exception occurs in between, the data will ...
Unamerican asked 9/2, 2014 at 20:19

2

Solved

I'm having a hard time trying to configure one redis container for all my applications using traefik. This is my configuration: 1 - Docker compose for Traefik and Redis: version: '2' services: ...
Sitra asked 3/11, 2017 at 17:37

3

Solved

Is there any way to insert a value into a Redis list by index? LINSERT can do it by value, but that seems a little backward in that the same value could appear multiple times in the list.
Tephrite asked 11/2, 2014 at 3:25

3

Is it possible to store json Files in Amazon Web Services Redis compatible Elasticache?If possible what is the best method to accomplish the same?
Hubey asked 9/1, 2017 at 11:31

2

I have got a Spring Boot application that needs to take millions of key value pairs and insert them into Redis. Currently I'm using the multiSet method 1,000 key value pairs at a time. @Autowire...
Analects asked 18/8, 2016 at 21:25

10

Solved

I want to using Redis in laravel 5.2 however, I'm getting error such a Class 'Predis\Client' not found, How I can solve it.
Opisthognathous asked 18/1, 2016 at 22:15

2

Solved

I am using celery and redis as two services in my docker setup. Configuration is as below: redis: image: redis:latest hostname: redis ports: - "0.0.0.0:6379:6379" command: --requir...
Metencephalon asked 20/3, 2018 at 4:49

2

Solved

I'm storing some key generated by users in a IDistributedCache set up. The key are long lived and they can be manually revoked by an user, if the user knows each one of them: public void ConfigureS...
Spheroidicity asked 9/4, 2019 at 19:3

11

I'm running multiple worker threads(around 10) to access the data from the redis Q. For the i'm using infinte timeout for Jedis Client. Jedis jedis = pool.getResource(); jedis.getClient().setTime...
Antiphon asked 24/10, 2012 at 5:50

© 2022 - 2024 — McMap. All rights reserved.