Skip to content Skip to sidebar Skip to footer
Showing posts with the label Redis

How To Insert Billion Of Data To Redis Efficiently?

I have around 2 billion key-value pairs and I want to load them into Redis efficiently. I am curren… Read more How To Insert Billion Of Data To Redis Efficiently?

Rq - Empty & Delete Queues

I'm using RQ, and I have a failed queue with thousands of items, and another test queue I creat… Read more Rq - Empty & Delete Queues

Python-redis: Get Binary Data After A Client Was Set Up With Decode_responses=true

So, following the excellent suggestion in both this answer and that answer, I decided to replace a … Read more Python-redis: Get Binary Data After A Client Was Set Up With Decode_responses=true

Django Celery Cannot Query Postgres Db Inside Task

In my celery task I try to query my postgres db. But I always get following error: task.py @shared… Read more Django Celery Cannot Query Postgres Db Inside Task

Should Two Modules Use The Same Redis Connection? (i'm Working With Flask)

I'm building a Flask app that uses a Redis Queue. The code for the worker is: listen = ['de… Read more Should Two Modules Use The Same Redis Connection? (i'm Working With Flask)

How To Set/get Pandas Dataframes Into Redis Using Pyarrow

Using dd = {'ID': ['H576','H577','H578','H600', 'H700&… Read more How To Set/get Pandas Dataframes Into Redis Using Pyarrow

Redis - Error: Value Is Not A Valid Float

I have a sorted set in Redis. I am trying to update the counter value of a specific element by usin… Read more Redis - Error: Value Is Not A Valid Float

Running Heroku Background Tasks With Only 1 Web Dyno And 0 Worker Dynos

I have a Python Flask app on Heroku that serves web pages but also allows certain tasks to be launc… Read more Running Heroku Background Tasks With Only 1 Web Dyno And 0 Worker Dynos

How To Pause Or Resume Celery Task?

I am having a requirement in my project where customer can pause or resume process which are pendin… Read more How To Pause Or Resume Celery Task?

How To Search A Key Pattern In Redis Hash?

I have a hash table whose keys are of pattern USER_TEL like: bob_123456 : Some address mary_567894… Read more How To Search A Key Pattern In Redis Hash?

Store User Information With Redis Or Mongodb

I need to store some user and document state information in a json-like object. For example: { … Read more Store User Information With Redis Or Mongodb

Flask-Mail And Redis Queue Library Integration Giving Error

I am using Flask-Mail extension to enable mail sending in the app. I was not able to get celery wor… Read more Flask-Mail And Redis Queue Library Integration Giving Error

Docker [Errno 111] Connect Call Failed ('127.0.0.1', 6379)

I am trying to follow the tutorial here https://channels.readthedocs.io/en/latest/tutorial/part_2.h… Read more Docker [Errno 111] Connect Call Failed ('127.0.0.1', 6379)