File tree Expand file tree Collapse file tree 4 files changed +98
-1
lines changed Expand file tree Collapse file tree 4 files changed +98
-1
lines changed Original file line number Diff line number Diff line change 1
1
# cookbook
2
- Setup databases and benchmarks frameworks
2
+
3
+ Provision machine, setup databases and benchmarks frameworks
4
+
5
+ ## TODO
6
+
7
+ - use docker w/ default config first, have things running so we can test out the rest of benchhub, deal w/ overhead and config later
8
+
9
+ ### Databases
10
+
11
+ RDBMS
12
+
13
+ - [ ] MySQL (single node)
14
+ - [ ] MySQL (master slave?)
15
+ - [ ] PostgreSQL (single node)
16
+ - [ ] PostgresSQL (multi node)
17
+
18
+ KV
19
+
20
+ - [ ] redis
21
+ - [ ] memcached
22
+
23
+ Column Family
24
+
25
+ - [ ] Cassandra (single node)
26
+ - [ ] Cassandra (multi node)
27
+ - [ ] HBase (multi node) along w/ HDFS
28
+
29
+ Document
30
+
31
+ - [ ] MongoDB
32
+
33
+ TSDB
34
+
35
+ - [ ] timescaledb (along w/ Postgres)
36
+ - [ ] InfluxDB (only single node is available)
37
+ - [ ] KairosDB
38
+ - [ ] OpenTSDB
39
+
40
+ ### Benchmark frameworks
41
+
42
+ - [ ] TPC-X series
43
+ - [ ] TPC-C
44
+ - [ ] TPC-H
45
+ - [ ] TPC-IoT
46
+ - [ ] YCSB
47
+ - [ ] OLTPBench
48
+ - [ ] how oltpbench implement YCSB? from scratch
49
+ - [ ] HiBench
Original file line number Diff line number Diff line change
1
+ # Docker
2
+
3
+ ## Commands
4
+
5
+ - ` docker compose up service-name `
6
+ - ` docker rm $(docker ps -a -q) ` remove all stopped containers
7
+
8
+ ## Docker engine
9
+
10
+ Just use Ubuntu 17.04 as host environment, since this is my local environment
11
+
12
+ - default version in apt seems to be 17.03, while the latest stable is 17.12
13
+ - https://docs.docker.com/release-notes/docker-ce/
14
+ - seems to be able to use https://download.docker.com/linux/ubuntu/dists/zesty/pool/stable/amd64/
15
+
16
+ ## Docker compose
17
+
18
+ - latest version is 1.18.0 https://github.com/docker/compose/releases/download/1.18.0/docker-compose-Linux-x86_64
19
+ - latest spec version is 3.x, and removed ` extend `
20
+
21
+ ## Docker registry
22
+
23
+ - https://github.com/docker/distribution
24
+ - https://hub.docker.com/_/registry/
25
+ - https://docs.docker.com/registry/deploying/
26
+
27
+ You can mount the storage for registry
Original file line number Diff line number Diff line change
1
+ # IaaS
2
+
3
+ Ref
4
+
5
+ k8s
6
+
7
+ https://github.com/kubernetes-incubator/kubespray
8
+
9
+ Packet
10
+
11
+ https://help.packet.net/solutions/platforms/kubernetes
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+ services :
3
+ # docker-compose up pg
4
+ # TODO: name? ... might use different compose file for different database
5
+ # TODO: graph admin?
6
+ pg :
7
+ image : " postgres:10.1"
8
+ environment :
9
+ - POSTGRES_PASSWORD=pgpassword
10
+ - POSTGRES_USER=pguser
11
+ ports :
12
+ - " 5432:5432" # guest host
You can’t perform that action at this time.
0 commit comments