Skip to content

Instantly share code, notes, and snippets.

View zedconte's full-sized avatar

Raul Ortega zedconte

View GitHub Profile
@zedconte
zedconte / gist:2353089
Created April 10, 2012 17:31 — forked from mikeyk/gist:1329319
Testing storage of millions of keys in Redis
#! /usr/bin/env python
import redis
import random
import pylibmc
import sys
r = redis.Redis(host = 'localhost', port = 6389)
mc = pylibmc.Client(['localhost:11222'])