redis Questions

5

In redis, select "number" gives access to specific database at that index. I my redis config it is set 16(why ?). We require high scaling of our application so what is the max limit for that?
Copyhold asked 20/4, 2016 at 6:13

3

Solved

I am using Node.js and a Redis Database . I am new to Redis . I am using the https://github.com/mranney/node_redis driver for node. Initialization code - var redis = require("redis"), client ...
Isreal asked 14/5, 2012 at 13:41

8

We have few node.js processes that should be able to pass messages, What's the most efficient way doing that? How about using node_redis pub/sub EDIT: the processes might run on different machine...
Mangum asked 24/6, 2011 at 5:51

3

Solved

I'm building an application with ExpressJS, Mongodb(Mogoose). Application contains routes where user has to be authenticated before accessing it. Currently I have written a express middleware to d...
Conlee asked 3/7, 2017 at 16:46

2

Solved

Being very new to FastAPI I am strugling to test slightly more difficult code than I saw in the tutorial. I use fastapi_cache module and Redis like this: from fastapi import Depends, FastAPI, Query...
Slab asked 28/11, 2020 at 16:1

10

Solved

I'm writing a django management command to handle some of our redis caching. Basically, I need to choose all keys, that confirm to a certain pattern (for example: "prefix:*") and delete them. I kn...
Melodist asked 23/2, 2014 at 22:1

4

Solved

I am using @cacheable in springboot2.0 with redis. I have configured RedisCacheManager as follow: @Bean public RedisCacheManager redisCacheManager(RedisConnectionFactory connectionFactory) { Red...
Victoir asked 27/6, 2018 at 4:56

6

Solved

How do I use Flask-Cache @cache.cached() decorator with Flask-Restful? For example, I have a class Foo inherited from Resource, and Foo has get, post, put, and delete methods. How can I can inval...

2

Solved

I've two Rails application running on two different instance(lets say Server1 and Server2) but they have similar codes and shares the same Postgresql DB. I installed Sidekiq and pushing the jobs i...
Quarto asked 24/12, 2015 at 10:3

5

Solved

I'd like to perform an atomic GET in Redis, and if the value returned is equal to some expected value, I'd like to do a SET, but I want to chain all of this together as one atomic operation. (I'm t...
Pleasure asked 12/5, 2018 at 17:59

7

Solved

Can anyone help me install php-redis in MAC OSX . brew install php-redis not working. pecl install php-redis also not working getting - invalid package name/package file "php-redis". H...
Geisler asked 18/8, 2018 at 11:13

7

Solved

I just wanted to know, at the beginning of my NodeJS process, if Redis is started or not (so users session will be stored or not). Here is what I have for the moment : var session = require('expr...
Enjoyment asked 15/6, 2014 at 16:59

4

When I start redis on OSX, it exits because it says it can't handle RDB format version 7. Here's the output: Server started, Redis version 3.0.7 Can't handle RDB format version 7 Fatal error loadi...
Nanci asked 1/10, 2016 at 17:36

2

Solved

The latest version of Redis Docker has introduced TLS/ SSL features. But I am not able to figure out how to enable it for Redis Docker of the latest version. Further, I would also like to know, how...
Perpetuity asked 16/7, 2020 at 6:45

3

We are facing [Errno 54] Connection reset by peer at very random in our application and looks like it is being triggered by redis server than client. Python's redis client have backoff strategy imp...
Irmine asked 10/1, 2022 at 4:8

5

Solved

Production environment is on Azure, using Redis Cache Standard 2.5GB. Example 1 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown...
Gussi asked 2/8, 2018 at 10:51

3

Solved

I'd like to check the version of redis, it could be accomplished on command line In [181]: !redis-server --version Redis server v=4.0.10 sha=00000000:0 malloc=libc bits=64 build=ea14acb2d1b3b56f ...
Individuality asked 16/8, 2018 at 7:37

1

In my NextJS app, I have multiple API routes: /api/user/[id] /api/questions /api/posts Each of these endpoints uses a Redis connection to get or put data within a Redis server. I've noticed that ...
Hobnob asked 15/3, 2022 at 22:17

9

I am using redis for pub/sub as well as for server side cache. I mean my app server has redis server running as one process (functioning as a cache as well) . I have several thin clients (running r...
Garget asked 17/4, 2015 at 6:55

1

Solved

Goal: store a dict() or {} as the value for a key-value pair, to set() onto Redis. Code import redis r = redis.Redis() value = 180 my_dict = dict(bar=value) r.set('foo', my_dict) redis.excepti...
Ambie asked 18/1, 2023 at 9:58

3

when memecached or Redis is used for data-storage caching. How is the cache being updated when the value changed? For, example. If I read key1 from cache the first time and it missed, then I pull ...
Selfconfidence asked 29/7, 2017 at 3:18

1

I want to stream real-time sensor data(webcam, laser point cloud, etc.) from one robot to multiple observers. In this use case, only the newest data is useful. For example, when a new frame of poin...
Overrun asked 14/2, 2022 at 4:49

4

Solved

I have a production laravel application and the staging application running on the same server. I am running redis, which I am using as my queue driver. They are obviously connected to different da...
Chrysalis asked 7/7, 2015 at 15:15

3

Solved

I'm using python and the Image module(PIL) to process images. I want to store the raw bits stream of the image object to redis so that others can directly read the images from redis using nginx &a...
Revolving asked 5/3, 2013 at 13:30

4

In Redis DB, I have many key in String type to save downloads time within a application, example: Key value 20131028:1 100 20131028:2 15 20131028:3 10 .......... I want to sum all value of all ke...
Cristobalcristobalite asked 29/10, 2013 at 8:53

© 2022 - 2024 — McMap. All rights reserved.