fixed a problem where bytes and strings are the suck
[goDBhammer.git] / design.txt
1 so our program should work pretty simple
2
3 execution:
4 goDBHammer port
5
6 where port is the port it'll listen to web requests for
7
8
9 there will be two very simple executions in that interface
10
11 1 controls the benchmark
12 2 is for rpc
13
14 this means you'll login to some controller and then tell it to connect to another controller on whatever port was used;
15
16 for eg:
17
18 machine 1: # godbhammer 12345
19 machine 2: # godbhammer 12345
20
21 on webpage of machine 1: # add machine2:12345
22
23 then machine 1 controls machine 2's hammer
24
25 The bits needed:
26
27 rpc class (server/client)
28 web class (server)
29 id generator (one thread)
30 benchmark controller (one thread)
31 benchmark clients (one thread each) - the things actually running the benchmark
32
33 dbi connector class.