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

Why Only One Connection To Redis Was Made In This Gevent Program?

I'm using gevent to build a server which do some redis stuff and return the result to client. B… Read more Why Only One Connection To Redis Was Made In This Gevent Program?

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

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?

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

Destroying / Removing A Queue() In Redis Queue (rq) Programmatically

Given: from redis import Redis from rq import Queue yesterday = Queue('yesterday', connect… Read more Destroying / Removing A Queue() In Redis Queue (rq) Programmatically

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 Failover To New Master Node When Using Redis With Sentinel And Redis-py?

To subscribe to Sentinel failover, what is the name of the Channel, and how do I detect that I need… Read more How To Failover To New Master Node When Using Redis With Sentinel And Redis-py?

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)