X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=design.txt;fp=design.txt;h=36762f9ebab01869ce9b7e918818ec5f804682aa;hb=eca6b58f8e0fe466027f051aca1e83da81a18046;hp=0000000000000000000000000000000000000000;hpb=52618e1a8ebd86ebb31b7109a65cfd5f6f82bf53;p=goDBhammer.git diff --git a/design.txt b/design.txt new file mode 100644 index 0000000..36762f9 --- /dev/null +++ b/design.txt @@ -0,0 +1,33 @@ +so our program should work pretty simple + +execution: +goDBHammer port + +where port is the port it'll listen to web requests for + + +there will be two very simple executions in that interface + +1 controls the benchmark +2 is for rpc + +this means you'll login to some controller and then tell it to connect to another controller on whatever port was used; + +for eg: + +machine 1: # godbhammer 12345 +machine 2: # godbhammer 12345 + +on webpage of machine 1: # add machine2:12345 + +then machine 1 controls machine 2's hammer + +The bits needed: + +rpc class (server/client) +web class (server) +id generator (one thread) +benchmark controller (one thread) +benchmark clients (one thread each) - the things actually running the benchmark + +dbi connector class. \ No newline at end of file