Reasons why Redis is a great option for a worker queue in Magento

Alan Kent asked on Twitter What is your personal favorite HA distributed queue technology? RabbitMQ? Kafka? Redis? ActiveMQ? Why? — Alan Kent (@akent99) February 4, 2015 You may know that I am partial to Redis as a worker queue for Magento.  Here are some reasons why. It is stupid simple to set up (meaning nubes and philes can both use it) It is blazing fast (it’s slow log is measured in microseconds) It does pubsub for one to many It does BLPOP for many to one It’s already supported with the

undefined reference to `__sync_add_and_fetch_4′ when compiling Redis

I’m intending to play around with Redis a little over the next few days.  I’ve been wanting to do this for a long time and I may have found a reason for me to do it now. So I downloaded the source onto a VM and ran make where I was getting this error zmalloc.o: In function `zmalloc_used_memory’: /opt/redis-2.6.7/src/zmalloc.c:223: undefined reference to `__sync_add_and_fetch_4′ collect2: ld returned 1 exit status make[1]: *** [redis-server] Error 1 make[1]: Leaving directory `/var/opt/redis-2.6.7/src’ make: *** [all] Error 2 The solution is to explicitly declare the