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

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

Docker-compose: Redis Connection Refused Between Containers

I am trying to setup a docker-compose file that is intended to replace a single Docker container so… Read more Docker-compose: Redis Connection Refused Between Containers

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 t… Read more Using Multiprocessing Pool From Celery Task Raises Exception

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

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?

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

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

How To Store An Image Into Redis Using Python / Pil

I'm using python and the Image module(PIL) to process images. I want to store the raw bits stre… Read more How To Store An Image Into Redis Using Python / Pil