Category Archives: Algorithms
A Distributed Mutex and Semaphore using Redis
Redis has some really neat atomic multi-operation commands that can be used to create a distributed mutex. Check out the documentation for the SETNX command for an example. This example is based on polling and unfair: waiting processes are not … Continue reading
IRC Quote (2)
Zeus WPI has an IRC channel which at any one time contains two dozen geeks discussing a myriad of topics ranging from the latest XKCD to the physics behind not being able to reach absolute zero. Such a cornucopia of … Continue reading