ask/kombu — Issue #94: Redis async/blocking poll?
Author: 23doors
Created: 2012-01-23 17:10:58+00:00
State: open

I stumbled upon: https://convore.com/celery/celery-with-redis-get_connection-error-polling/

It says that redis with kombu/celery no longer uses polling. Well, with CELERY_RESULT_BACKEND = 'redis' and BROKER_TRANSPORT='redis' I still get 0.5s+ latency without specifying interval.

Tried kombu and celery from github tip as well, same thing. I only get good results with interval = 0.001 or less, but this worries me a little especially with situations when redis communicates through WAN/LAN.

Or maybe I am misinterpreting? Is it that tasks are polled with 0.5s interval (unless faster polling is requested) and results are immediate?
Still, even though redis got me 50-70% better results than amqp when it comes to latency, this just doesn't feel right. It has async capabilities, why use sync with timeout?