Skip to content

Instantly share code, notes, and snippets.

@kvld
kvld / gist:7a0231cf79759086d71b45b1629416dc
Created February 26, 2017 19:03 — 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'])