Skip to content

Instantly share code, notes, and snippets.

@kgorman
Created July 24, 2012 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgorman/3172720 to your computer and use it in GitHub Desktop.
Save kgorman/3172720 to your computer and use it in GitHub Desktop.
NUM_WORKERS = 140
PLAYERS_PER_WORKER = 4000
NUM_PLAYERS = NUM_WORKERS * PLAYERS_PER_WORKER
MONGO_FLAGS = {'host': '127.0.0.1', 'port': 27017. 'safe':True}
MONGO_USER = 'myuser'
MONGO_PWD = 'mypwd'
MONGO_DROP_DATABASE = False
# The database class to use for the benchmark. Options are 'MemSqlDatabase',
# 'MySqlDatabase' and 'MongoDatabase'.
DATABASE = 'MongoDatabase'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment