cool book. Stumbled upon a mistake in the Redis Chapter:
redis.multi do site = redis.rpop('eric:wishlist') redis.lpush('eric:visited', site) end
won’t work. Since operations in a multi block are queued/batched, redis.rpop will only return a Future, which can’t be pushed into a list. Thus, both operations can’t be combined in single Redis transaction without RPOPLPUSH.
Write “Seven More Databases in Seven Weeks”, soon ;-) Bye, Felix