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?

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 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

Redis: Reset Counter Every Day

I am looking to reset a counter every day using Redis. I am new to Redis so I want to make sure I w… Read more Redis: Reset Counter Every Day

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?

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?