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