Skip to content

Instantly share code, notes, and snippets.

View vi3k6i5's full-sized avatar
👨‍💻
Learning...

Vikash Singh vi3k6i5

👨‍💻
Learning...
View GitHub Profile
@mikeyk
mikeyk / gist:1329319
Created October 31, 2011 22:56
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'])