Skip to content

Instantly share code, notes, and snippets.

View nimbusscale's full-sized avatar

Joe K. nimbusscale

  • VMware
  • San Francisco
View GitHub Profile
@nimbusscale
nimbusscale / consul_benchmark.py
Created November 19, 2015 19:17
writes as many keys as it can to a specified prefix within a specified number of seconds
#!/usr/bin/env python
import argparse
import datetime as dt
import hashlib
import json
import requests
import socket
import time
import consul