redis Questions
2
I have an azure redis cache. I've set it up so that I can do stringGet key setting based off this example. It works pretty great.
However, I want to know if the cache is empty or not, or if there...
Ichor asked 6/1, 2017 at 21:38
1
I'm using bullmq to send webhooks events. Jobs are scheduled and an automatic retry is in place. Let's say I want to re-execute some tasks which already successfully completed and I have the ids of...
2
Solved
Project structure:
client
nginx
web/
celery_worker.py
project
config.py
api/
I have the following services in my docker-compose:
version: '3.6'
services:
web:
build:
context: ./service...
Clinandrium asked 29/3, 2019 at 3:33
2
Solved
I am trying to create socket in django. I installed asgi_redis as per this link.
When I ran the command python manage.py runserver, I am getting below error.
>python manage.py runserver
Command...
2
I am using redis-py (https://redis-py.readthedocs.org/en/latest/).
lets say I have some redis keys saved and av. 'av' has no assigned value so using the command line, I can do:
>>> redi...
2
Solved
I am trying to understand how Redis AOF file works and maybe write a parser given some simple Redis AOF file. Right now I generated an AOF file by doing these commands in Redis:
SET firstkey first...
Dorking asked 24/3, 2019 at 18:39
2
Our current caching implementation caches large amounts of data in report objects (50MB in some cases).
We’ve moved from memory cache to file cache and use ProtoBuf to serialize and de-serialize....
2
python 3.10 running in venv on Windows 10 pro.
I am trying to follow the tutorial for the Celery and Flask integration: https://flask.palletsprojects.com/en/latest/patterns/celery/
# example.py
fr...
Deictic asked 7/3, 2023 at 8:55
3
Solved
I tried redis's DUMP command, redirect to file (or pipe), but RESTORE report this error:
$ redis-cli dump test > /tmp/test.dump
$ cat /tmp/test.dump | redis-cli -x restore test1 0
(error) ERR D...
3
Solved
The following code save the whole array as single value in redis list. But I want to save array values individually. How can I do it?
P.S So sorry for poor English.
var redis = require('redis'),...
Ranjiv asked 2/11, 2013 at 18:21
8
Solved
I Installed Redis Server on ubuntu 16.04. but when I try to start the redis service using
$ sudo systemctl start redis
I receive message:
Failed to start redis.service: Unit redis-server.service i...
Chromite asked 29/10, 2016 at 7:44
4
Solved
I am trying to install Redis on the golang:1.10.1-alpine3.7 image. I tried RUN apk add --no-cache redis, but when I tried to run the redis-cli command, I get an exit status 127, which means the giv...
Pelagian asked 28/4, 2018 at 5:1
5
Solved
I am trying to insert multiple key/values at once on Redis (some values are sets, some are hashes) and I get this error: ERR CROSSSLOT Keys in request don't hash to the same slot.
I'm not doing th...
Wilonah asked 26/6, 2016 at 19:57
4
Solved
I am on an dead end with redis cache. I want to set an TTL on the initiation of a key. The key will be set by hSet($hash, $key, $data)
expire($key, '3600')
does not seem to work. Is there an hEx...
4
Solved
I am using redis as a cache and would like to expire data in redis that are not actively used. Currently, setting expiry for an object deletes an object after the expiry time has elapsed. However, ...
2
Solved
I was able to flash all keys from terminal using redis-cli flushdb. I have been searching for a while, took me an hour in order to find the simple command to do it in php.
I didn't find it on st...
2
Solved
I am new in laravel so I googled a lot for different approaches how to create websocket with redis, socket.io in laravel framework.
And finally my websocket works as I expected. However I still hav...
5
In spring-data-redis, How do we need configure custom converters that can be auto-wired/injected from Spring boot application or configuration.
I read about @ReadingConverter and @WritingConverter...
Pritchett asked 20/3, 2017 at 23:5
4
Solved
I would like to know how to clear Azure Redis Cache from portal or any other easy way to clear all the keys ? I am using azure redis cache for my azure cloud service and I would like to know any ea...
Upheld asked 16/2, 2015 at 5:8
4
Solved
My problem is: i have a set of values that each of them has to have an expire value.
code:
set a:11111:22222 someValue
expire a:11111:22222 604800 \\usually equal a week
In a perfect world i wo...
Ancier asked 14/11, 2013 at 12:46
2
I am using jdish.publish in my web app and jedis.subscribe in my desktop app. so both are separate app.
I have this pubsub class
public class RedisNewPostListener extends JedisPubSub {
private ...
4
Solved
I have to configure Redis with Socketio in my Laravel application. However, what ever I have tried so far, I get the same error:
Connection refused [tcp://127.0.0.1:6379] i
I can go to the contai...
2
Solved
Although celery reports no problems at start and says it successfully connected to redis (see log), I get this error running celery inspect ping
Traceback (most recent call last):
File "/usr/...
Josselyn asked 18/8, 2022 at 9:37
4
Solved
I am trying to delete a bunch of keys matching a prefix using redis-cli.
I have been researching how to do this online and the most common suggestion I have seen is to do it straight from the comm...
3
This docker-compose.yml seems to work OK:
version: '3'
services:
web:
image: web-app
command: bundle exec rackup
ports:
- "9292:9292"
links:
- redis
redis:
image: redis
Command:
docker...
Fannyfanon asked 21/2, 2017 at 20:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.