redis Questions
1
Solved
Today I am facing a problem that the redis in the kubernetes cluster shows error like this:
2021-11-16T05:32:18 [INFO] - increment delete failed...,MobcError(RedisCMDError(An error was signalled by...
Licentiate asked 16/11, 2021 at 5:39
11
I have a Spring Hibernate Application. In my application, Recently i am implemented Spring data Redis.
spring-servlet.xml
<!-- redis connection factory -->
<bean id="jedisConnFactory&...
2
We are using kong api gateway as a single gateway for all apis. we are facing latency issue with few of our api's (1500-2000ms). later when we checked, latency was being created because of the "rat...
Footpath asked 3/9, 2018 at 11:24
2
My question is, in distributed web application is it possible to get the valid sessions from Redis Store using RedisOperationSessionRepository. (I mean I don't want to write explicit code for putti...
Uyekawa asked 10/3, 2016 at 16:23
2
We have automation to login into different websites and perform some operations on website accounts. It is required that only one BOT can login simultaneously into a specific account to avoid incon...
Inaudible asked 7/10, 2020 at 20:27
1
Solved
How do I "FLUSHALL" in redis in this situation?
Running redis via docker on PopOs 21.0.4 as shown in the following docker-compose.yml
version: "2.4"
services:
redis:
image: re...
4
Solved
I have JSON (<1k) to store in Redis through node.js. What are the pros and cons of storing it as an object or string? Are there other options I missed? All processing will ultimately happen on t...
1
I'm making a simple Redis' request which is supposed to return all VALUES (not keys) in my database. The problem is that my function returns tab before the .forEach even starts. Why do I know that?...
Phasia asked 3/11, 2021 at 17:29
3
Using Lettuce 5 as a Redis client for the first time, I'm finding it rather confusing to simply create a RedisCommands<String, Long> for getting/setting Redis values as a Long.
It's a little ...
5
I've configured redis-server to use password with requirepass option.
When running redis-cli I have two options to gain access to database.
Use redis-cli -a mypassword command. This stores passs...
Playful asked 16/10, 2018 at 9:2
11
Solved
I want to use redis' pubsub to transmit some messages, but don't want be blocked using listen, like the code below:
import redis
rc = redis.Redis()
ps = rc.pubsub()
ps.subscribe(['foo', 'bar'])
...
4
Solved
I have 2 services. Both of them need subscribe to the same channel.
The 2 services are load balanced. Each service runs on multiple servers.
So how can I be sure only 1 instance of each service c...
Sewing asked 25/8, 2011 at 19:47
1
I'm using spring boot webflux + project reactor + lettuce for connecting and querying Redis in a non blocking way.
I have configured the ReactiveRedisTemplate with LettuceConnectionFactory. The spr...
Merchantable asked 15/8, 2018 at 21:4
0
I'm trying to forecast memory usage on my Redis (v6.2.5) cluster when using sorted sets. From my initial research I can tell that the length of the key, the length of each individual element, and t...
5
I am setting up channels asgi with Django. I have tried upgrading Django and Channels.
"Cannot find %r in ASGI_APPLICATION module %s" % (name, path)
django.core.exceptions.ImproperlyConfigured: Ca...
6
Solved
After setting a DataFrame to redis, then getting it back, redis returns a string and I can't figure out a way to convert this str to a DataFrame.
How can I do these two appropriately?
10
Solved
The hmset function can set the value of each field, but I found that if the value itself is a complex structured object, the value return from hget is a serialized string, not the original object
...
4
Solved
If I've got a nested object graph of case classes, similar to the example below, and I want to store collections of them in a redis list, what libraries or tools should I look at that that will giv...
4
Solved
I am a novice in using Redis DB. After reading some of the documentation and looking into some of the examples on the Internet and also scanning stackoverflow.com, I can see that Redis is very fast...
Meridithmeriel asked 19/6, 2013 at 13:56
7
Background: We've built a chat feature in to one of our existing Rails applications. We're using the new ActionController::Live module and running Puma (with Nginx in production), and subscribing t...
Mneme asked 23/9, 2013 at 23:17
0
I expected job marked with ShouldBeUnique interface to not be dispatched more than once. However all jobs are dispatched like usually.
In my .env file redis is set to be used for queue connection a...
3
Solved
I want to use Redis as a cache storage for multiple applications on the same physical machine.
I know at least two ways of doing it:
by running several Redis instances on different ports;
by usi...
Monitor asked 30/11, 2014 at 19:53
3
Solved
How to delete keys matching a certain pattern in redis using redis-cli. I would like to delete all foo's from the following list.
KEYS *
foo:1
foo:2
bar:1
foo:3
bar:2
foo:4
10
Solved
I am a learner in Node.js.
What's Express.js?
What's the purpose of it with Node.js?
Why do we actually need Express.js? How is it useful for us to use with Node.js?
What's Redis? Does it co...
10
Solved
How can I browse all the pending jobs within my Redis queue so that I could cancel the Mailable that has a certain emailAddress-sendTime pair?
I'm using Laravel 5.5 and have a Mailable that I'm us...
© 2022 - 2024 — McMap. All rights reserved.