# Test this example by starting memcached locally and then in two irb sessions, run this:#=beginrequire 'queue_worker_example'p = Politics::QueueWorkerExample.newp.start=end## You can then watch as one of them is elected leader. You can kill the leader and verify# the backup process is elected after approximately iteration_length seconds.#module Politicsclass QueueWorkerExampleinclude Politics::StaticQueueWorkerTOTAL_BUCKETS = 20