| OLD | NEW |
| 1 DESIGN | 1 DESIGN |
| 2 ====== | 2 ====== |
| 3 | 3 |
| 4 | 4 |
| 5 Overview | 5 Overview |
| 6 -------- | 6 -------- |
| 7 Provides interactive dashboard for Skia performance data. | 7 Provides interactive dashboard for Skia performance data. |
| 8 | 8 |
| 9 Code Locations | 9 Code Locations |
| 10 -------------- | 10 -------------- |
| 11 | 11 |
| 12 The code for the server along with VM instance setup scripts is kept in: | 12 The code for the server along with VM instance setup scripts is kept in: |
| 13 | 13 |
| 14 * https://skia.googlesource.com/buildbot/+/master/perf/server | 14 * https://skia.googlesource.com/buildbot/+/master/perf/ |
| 15 | 15 |
| 16 | 16 |
| 17 Architecture | 17 Architecture |
| 18 ------------ | 18 ------------ |
| 19 | 19 |
| 20 This is the general flow of data for the Skia performance application. | 20 This is the general flow of data for the Skia performance application. |
| 21 The frontend is available at http://skiaperf.com. | 21 The frontend is available at http://skiaperf.com. |
| 22 | 22 |
| 23 ``` | 23 ``` |
| 24 | 24 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 A Cloud SQL (a cloud version of MySQL) database is used to keep information on | 177 A Cloud SQL (a cloud version of MySQL) database is used to keep information on |
| 178 Skia git revisions and their corresponding annotations. The database will be | 178 Skia git revisions and their corresponding annotations. The database will be |
| 179 updated when users add/edit/delete annotations via the dashboard UI. | 179 updated when users add/edit/delete annotations via the dashboard UI. |
| 180 | 180 |
| 181 MySQL Flags to set: | 181 MySQL Flags to set: |
| 182 | 182 |
| 183 max_allowed_packet = 1073741824 | 183 max_allowed_packet = 1073741824 |
| 184 | 184 |
| 185 All passwords for MySQL are stored in valentine (search "skiaperf"). | 185 All passwords for MySQL are stored in valentine (search "skiaperf"). |
| 186 | 186 |
| 187 To connect to the database from authorized network (including skia-perf GCE): | 187 To connect to the database from authorized network (including skia-testing-b |
| 188 GCE): |
| 188 | 189 |
| 189 $ mysql -h 173.194.104.24 -u root -p | 190 $ mysql -h 173.194.104.24 -u root -p |
| 190 | 191 |
| 191 | 192 |
| 192 | |
| 193 mysql> use skia | 193 mysql> use skia |
| 194 | 194 |
| 195 mysql> show tables; | 195 mysql> show tables; |
| 196 | 196 |
| 197 Initial setup of the database, the users, and the tables: | 197 Initial setup of the database, the users, and the tables: |
| 198 | 198 |
| 199 CREATE DATABASE skia; | 199 CREATE DATABASE skia; |
| 200 USE skia; | 200 USE skia; |
| 201 CREATE USER 'readonly'@'%' IDENTIFIED BY <password in valentine>; | 201 CREATE USER 'readonly'@'%' IDENTIFIED BY <password in valentine>; |
| 202 GRANT SELECT ON *.* TO 'readonly'@'%'; | 202 GRANT SELECT ON *.* TO 'readonly'@'%'; |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 | 449 |
| 450 But sysv init only handles starting and stopping a program once, so we use | 450 But sysv init only handles starting and stopping a program once, so we use |
| 451 Monit to monitor the application and restart it if it crashes. The config | 451 Monit to monitor the application and restart it if it crashes. The config |
| 452 is in: | 452 is in: |
| 453 | 453 |
| 454 /etc/monit/conf.d/perf | 454 /etc/monit/conf.d/perf |
| 455 | 455 |
| 456 Installation | 456 Installation |
| 457 ------------ | 457 ------------ |
| 458 See the README file. | 458 See the README file. |
| OLD | NEW |