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]
Contributions
Here are some interesting additions others have contributed: