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

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 Inspect And Cancel Celery Tasks By Task Name

I'm using Celery (3.0.15) with Redis as a broker. Is there a straightforward way to query the n… Read more How To Inspect And Cancel Celery Tasks By Task Name

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?

Connect To Redis From Another Container In Docker

I have app, that used Tornado and tornado-redis. [image 'app' in docker images] I start red… Read more Connect To Redis From Another Container In Docker

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)

How To Set Hash Key Expiration In Redis According To The Existance Of The Key

I would like to set the expiration of some hash keys, and if it is the first time to hset the key, … Read more How To Set Hash Key Expiration In Redis According To The Existance Of The Key

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)

Django Valueerror: No Route Found For Path 'ws/chat//'

I'm working on making a simple chat app using this tutorial from youtube (github link here: LIN… Read more Django Valueerror: No Route Found For Path 'ws/chat//'

Python-rq Worker Closes Automatically

I am implementing python-rq to pass domains in a queue and scrape it using Beautiful Soup. So i am … Read more Python-rq Worker Closes Automatically

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

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

Same Task Executed Multiple Times

I have ETA tasks that get sent to a Redis broker for Celery. It is a single celery and redis instan… Read more Same Task Executed Multiple Times

Redis - Username, Password And Db?

Is it possible to use username, password and db in Redis? The reason for this question is because i… Read more Redis - Username, Password And Db?

How Could I Convert A Bytes To A Whole Hex String?

a1 = b'\x01\x02\x41' \x41 is A and when I print str(a1), I get b'\x01\x02A' how c… Read more How Could I Convert A Bytes To A Whole Hex String?

The Scrapy-redis Program Does Not Close Automatically

Scrapy-redis framework, redis stored xxx: requests have been crawled finished, but the program is s… Read more The Scrapy-redis Program Does Not Close Automatically

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

Heroku: Background Tasks In Python With RQ

I am trying to set a background task for my Django app with Heroku. I am following the steps explai… Read more Heroku: Background Tasks In Python With RQ