redis Questions
2
Solved
I have attempted everything recommended by the following error message:
(error) DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no aut...
Gift asked 30/3, 2017 at 2:39
2
I got this error when deploy docker-compose with redis
220:C 23 Jul 2020 11:21:59.091 # Failed opening the RDB file root (in server root dir /etc/crontabs) for saving: Permission denied
1:M 23 Jul...
Cythera asked 23/7, 2020 at 11:36
4
Solved
I have an array of Objects that I want to store in Redis. I can break up the array part and store them as objects but I am not getting how I can get somethings like
{0} : {"foo" :"bar", "qux" : "...
Dogs asked 3/8, 2016 at 15:6
3
Solved
Trying to start Celery first time but issues error as below,
i have installed redis and its starting fine , but still somehow django seems to have issues with it ,
File "<frozen importlib._...
Villasenor asked 30/11, 2021 at 3:54
2
Solved
pool = redis.ConnectionPool(host='10.0.0.1', port=6379, db=0)
r = redis.Redis(connection_pool=pool)
vs.
r = redis.Redis(host='10.0.0.1', port=6379, db=0)
Those two works fine.
Whats the idea ...
8
I have installed Redis in centos and I have multiple keys of redis like this,
Product:<id>:<url>
How can I delete all Product:*:* with CLI ?
Redis version : 3.2.4 [ Latest I guess ]...
Catchword asked 18/11, 2016 at 13:12
3
Solved
I'm looking for a way to store a list of items for a user, that will expire within 24 hours. Is there a way to accomplish this using Redis? I was thinking of just using the list and setting an expi...
34
Solved
In my Redis DB I have a number of prefix:<numeric_id> hashes.
Sometimes I want to purge them all automatically. How do I do this without using some distributed locking mechanism?
Mcdonough asked 23/10, 2010 at 22:4
5
I was wondering if I could get an explanation between the differences between In-Memory cache(redis, memcached), In-Memory data grids (gemfire) and In-Memory database (VoltDB). I'm having a hard ti...
Parnell asked 3/5, 2016 at 23:4
7
Solved
Using
dd = {'ID': ['H576','H577','H578','H600', 'H700'],
'CD': ['AAAAAAA', 'BBBBB', 'CCCCCC','DDDDDD', 'EEEEEEE']}
df = pd.DataFrame(dd)
Pre Pandas 0.25, this below worked.
set: redisConn.se...
9
I tried both the files from here: https://github.com/nicolasff/phpredis/downloads. I am using 64bit wampserver on windows 7 professional. It looks like apache is trying to load the file but somehow...
4
I'm losing my mind trying to find a reliable and testable way to get the number of tasks contained in a given Celery queue.
I've already read these two related discussions:
Django Celery get task ...
2
Solved
So, following the excellent suggestion in both this answer and that answer, I decided to replace a whole bunch of encode/decode to/from UTF-8 all over the place by a single:
rdb = redis.StrictRedis...
4
Let's start by listing some facts:
Elasticache can't be a slave of my existing Redis setup. Real shame, that would be so much more efficent.
I have only one Redis server to migrate, with roughly ...
Demonstration asked 13/6, 2016 at 10:55
26
Solved
I want to delete all keys. I want everything wiped out and give me a blank database.
Is there a way to do this in Redis client?
Isogamete asked 27/7, 2011 at 22:15
1
I've got a Flask app that's deployed (using a Dockerfile) to Google Cloud Run. The app's structure closely resembles the Flask Mega Tutorial. It uses a Postgres database that runs on Cloud SQL.
The...
Sleazy asked 10/5, 2021 at 0:33
7
Solved
In Redis, keys user* will print all keys starting with user.
For example:
keys user*
1) "user2"
2) "user1"
Now, I want all keys that don't start with user to be printed.
How could I do that?
Jordanson asked 29/4, 2015 at 11:36
2
I am trying to get a chat app powered by django channels to work on AWS Elastic Beanstalk with a load balancer.
I am basically modifying the code from https://github.com/jacobian/channels-example...
Magnetism asked 9/9, 2016 at 6:36
4
I need to get a list of all streams (keys) in a database but I can't find a command for it.
I've already tried going over all keys and checking their typebut it is too slow/expensive.
I'd like t...
Absorber asked 9/1, 2019 at 0:12
6
Solved
I have a 20GB+ rdb dump in production.
I suspect there's a specific set of keys bloating it.
I'd like to have a way to always spot the first 100 biggest objects from static dump analysis or ask it...
Snell asked 2/12, 2012 at 19:44
1
Solved
We are using Redis cache for storing data in cache in our application. We are directly using
@Cacheable to allow caching and using redis underneath to cache. Below is the config
Redis Config -
@Con...
Abyss asked 8/9, 2023 at 21:39
8
I am facing a issue in mock redis template.
Can any one help me to write unit test for below class.
@Repository
public class CasheRepo {
@Autowired
private RedisTemplate<String, Object> t...
Middendorf asked 9/4, 2017 at 4:57
5
Solved
I have seen answers in couple of threads but didn't work out for me and since my problem occurs occasionally, asking this question if any one has any idea.
I am using jedis version 2.8.0, Spring D...
Pelite asked 19/4, 2017 at 10:2
17
I started redis server on ubuntu by typing this on terminal: $redis-server
This results in following > http://paste.ubuntu.com/12688632/
aruns ~ $ redis-server
27851:C 05 Oct 15:16:17.955 # Warni...
Statistics asked 5/10, 2015 at 11:6
3
I am using redis version 6.0 and gem 'sidekiq', '>= 6.4.1'
gem 'sidekiq-cron', '~> 1.2' for job scheduling in rails. I am using corn job to process email daily. [. My ruby version is 2.7, rai...
Vagina asked 21/2, 2022 at 16:10
© 2022 - 2024 — McMap. All rights reserved.