8 ms·
im using redis instead of rabbitmq - have had zero problems so far. great work, this project is awesome
by misiti3780 14y ago
im using redis instead of rabbitmq - have had zero problems so far. great work, this project is awesome
- conesus 14y agoAre you using redis with slaves? When I do that, celery throws errors when trying to add tasks to my redis queue.
- asksol 14y agowhat's the error and traceback? (paste at pastie.org or similar)
- conesus 14y agoPreface this by saying that I've been successfully and happily using celery since 0.8, which was over 2 years ago. Since 2.0, it's been rock solid. But then I switched from RabbitMQ to redis and when I added redis slaves, it broke. Here goes: http://pastie.org/4216467 http://pastie.org/4216467 It's probably due to redis' INFO command giving different values. Now would be a great time to get it sorted out, too.
- asksol 14y agoAbout your error, seems strange that a simple info command gives that error, maybe you're running an outdated version of redis-py/redis-server?
- conesus 14y agoLatest redis (2.4.15) and using redis-py 2.4.10. Just checked the CHANGELOG for redis-py, which is now at 2.4.13, and voila: * 2.4.11 * Made the INFO command more tolerant of Redis changes formatting. Fix for #217. Doh! Off by a single patch release. Thanks for the help. See, folks? Celery is amazing in multiple ways.
- misiti3780 14y agono i am not, sorry
- simonpantzare 14y agoOut of curiosity, why do you use Redis instead of RabbitMQ?
- misiti3780 14y agobecause its much easier to configure in my opinion, and i dont really care if messages get lost + i am using it in other parts of my stack so it i decided that instead of bringing in another piece of technology, i would utilize what i already had and keep things less complex