1. Stephen McDonald
  2. two-queues



A Tale of Two Queues

Related source code for my blog post A Tale of Two Queues, benchmarking Redis and ZeroMQ pub-sub, using Python and Google's Go language.

Software and Libraries

Following are the software and library requirements for running these benchmarks, using homebrew for OSX, pip for Python and go get for Go. Installation should be similar on various Linuxes using their respective package managers rather than homebrew. You'll also need to run Redis once installed.

$ brew install zeromq [1]
$ brew install redis [2]
$ brew install gnuplot [3]
$ pip install pyzmq [4]
$ pip install redis [5]
$ pip install hiredis [6]
$ go get github.com/garyburd/redigo/redis [7]
$ go get github.com/alecthomas/gozmq [8]
  1. http://www.zeromq.org
  2. http://redis.io
  3. http://www.gnuplot.info
  4. https://github.com/zeromq/pyzmq
  5. https://github.com/andymccurdy/redis-py
  6. https://github.com/pietern/hiredis-py
  7. https://github.com/garyburd/redigo
  8. https://github.com/alecthomas/gozmq


Here are some interesting additions others have contributed: