design doco, some more .. classes is the wrong word... so is packages really... lets...
[goDBhammer.git] / design.txt
diff --git a/design.txt b/design.txt
new file mode 100644 (file)
index 0000000..36762f9
--- /dev/null
@@ -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