~nchohan/+junk/mytools

« back to all changes in this revision

Viewing changes to bin/dbtranstest2/clientside/README

  • Committer: root
  • Date: 2010-11-03 07:43:57 UTC
  • Revision ID: root@appscale-image0-20101103074357-xea7ja3sor3x93oc
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
There is a master program and a slave program. There are many slaves (each capable of 350 threads at a time), but only one master. 
 
2
 
 
3
There are two list the master needs
 
4
targets (these are the ips and ports of the web servers being tested)
 
5
slaves (these are the processes waiting for a list of web servers to request from)
 
6
 
 
7
Example intial setup
 
8
python master.py -t targetfile -p
 
9
This will place 100k accounts in the app
 
10
 
 
11
Example master program execution
 
12
python master.py -t targetfile -s slavefile [-p for priming] [-d for debugging]
 
13
 
 
14
Example slave program execution
 
15
python slave.py -b 10101 (port number listed in slaves file) [-d for debugging]
 
16
 -t [for testing, will do a get on "/" for targets to allow for any old target listing such as google.com]
 
17
 
 
18