Category "redis"

FastAPI websockets not working when using Redis pubsub functionality

currently I'm using websockets to pass through data that I receive from a Redis queue (pub/sub). But for some reason the websocket doesn't send messages when us

Redis connection [] has not been configured. - Connection property passed is empty

I am implementing redis backed queues but all of a sudden facing the above issue. Looks like $connection variable is empty when it is passed to the Horizon.php.

What determines AWS Redis' usable memory? (OOM issue)

I am using AWS Redis for a project and ran into an Out of Memory (OOM) issue. In investigating the issue, I discovered a couple parameters that affect the amoun

GraphQL error: Field error: value is not an instance of Date

After I've installed redis-server and graphql-redis-subscriptions I receive the following error [GraphQL error]: Message: Field error: value is not an instance

Redis Command To Sort Keys

The Redis command keys * will return a list of all keys and scan 0 is a more recent way to do something similar, but with less blocking. Do any commands exist t

Converting a lua table to a java `Map` with Spring Data Redis

I am trying to run a lua script which eventually returns a lua table, then convert it as java Map with Spring Data Redis. When the result is array style lua tab

Can we have multiple databases in ElastiCache (for Redis)?

Difficult to find this information for ElastiCache (for Redis) - if we can use databases with it such as 0, 1, 2 ... like it's possible in Redis.

Fastest way to store a numpy array in redis

I'm using redis on an AI project. The idea is to have multiple environment simulators running policies on a lot of cpu cores. The simulators write experience

Redis INCRBY with limits

I'd like to know if there is a way to perform this in redis with a single roundtrip from my app: For a given key K, its possible value V is any of the integers

Mock redis template

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 pr

Sync AWS Elasticache(Redis) to MySQL Database Table

I am using AWS Elasicache(Redis) using PHP & MySQL for different caching purposes that are mentioned below Reducing the load on MySQL Session Handling Datab

Using multiprocessing pool from celery task raises exception

FOR THOSE READING THIS: I have decided to use RQ instead which doesn't fail when running code that uses the multiprocessing module. I suggest you use that. I a

How can I get results/failures for celery tasks from a redis backend when I don't store their their task-ID?

In my web-application I start backgrounds jobs with celery without storing their id. Some of the task are periodic and some are triggered by user-interaction. T

How to launch laravel-echo server on production?

My prod. stack: Vue.js CLI - https://example.com Laravel API - https://example.com/api I've already created a real-time chat using laravel-echo server & soc

Issues to fully delete a hash key in redis

i'm using Redis with Python and Django and i have some trouble with the delete of Redis. I create hash key to store multiple informations about a vehicule, but

Can I use Elasticache Memcached to store the events which the value has JSON object in key-value pair

I'm trying to push the events into the cache. The events contain a key-value pair. The key is a string and "Value" is a JSON object. Can I use memcached for thi

Redis performance on a multi core CPU

I am looking around redis to provide me an intermediate cache storage with a lot of computation around set operations like intersection and union. I have looke

Django model doesn't get saved to database inside Celery Task

I've hit a really nasty situation. I have the following setup. I have a django model representing an FSM with a django FSM field I have a celery task that sen

Authentication Principal is empty while using Spring Session Redis

I am building rest API using Spring Boot v1.3.3. API is secured by Spring Security. I have implemented custom user details service to have custom principal in a

Correct Way of using Redis Connection Pool in Python

How should two different modules foo.py and bar.py get a connection from a Redis connection pool? In other words, how should we structure the app? I believe th