1
0
Fork 0
Commit Graph

81 Commits

Author SHA1 Message Date
Gregory Eremin 06f9023ed3 Reorganize js files 2015-10-28 23:13:00 +03:00
Gregory Eremin 90e14ea980 Add dashboard app jsx 2015-10-28 22:42:43 +03:00
Gregory Eremin 349d830a60 Reset stats after taking a snapshot 2015-10-28 22:42:17 +03:00
Gregory Eremin 123d3b0bdb Add dashboard app skeleton 2015-10-28 22:42:01 +03:00
Gregory Eremin 663eca857f Add js duration format helper 2015-10-28 22:37:17 +03:00
Gregory Eremin 4edd072a56 Add js http helper 2015-10-28 22:37:06 +03:00
Gregory Eremin 8c587201f4 Send Access-Control-Allow-Origin header 2015-10-28 02:27:44 +03:00
Gregory Eremin a01ae441bc Fix stats snapshot creation 2015-10-28 02:27:30 +03:00
Gregory Eremin bd345af332 Working server with 5s stats snapshots 2015-10-28 01:23:39 +03:00
Gregory Eremin 3c77fec5e3 Implement base stats snapshot 2015-10-28 00:12:28 +03:00
Gregory Eremin c7db902da2 Use time.Time.Sub function instead of manipulating nanoseconds 2015-10-27 22:47:36 +03:00
Gregory Eremin 79cb745a5d Define an empty Shutdown function on base daemon 2015-10-27 19:54:08 +03:00
Gregory Eremin 7af5b18d85 Dashboard server draft 2015-10-27 04:22:45 +03:00
Gregory Eremin 80da11ad60 Implement statistics server 2015-10-27 04:16:02 +03:00
Gregory Eremin 3033508706 Collecting task wait time for workers is no longer necessary 2015-10-27 04:00:41 +03:00
Gregory Eremin 7432c5e0d8 Increase default num workers 2015-10-27 03:56:41 +03:00
Gregory Eremin 61041dbd1b Don't log notices on worker start/stop 2015-10-27 03:56:08 +03:00
Gregory Eremin e21ffb6eb4 There's no need to balance the number of workers
Goroutines are too cheap to bother
2015-10-27 03:52:54 +03:00
Gregory Eremin 850f0033a5 Respect min/max num workers range 2015-10-27 03:42:00 +03:00
Gregory Eremin 4eae1c3b8d Implement configurable scaling PoC 2015-10-27 03:33:04 +03:00
Gregory Eremin b0142de4a7 Make worker pool size, add autoscale option 2015-10-27 03:09:19 +03:00
Gregory Eremin e0eb526af5 Make sample size configurable 2015-10-27 03:03:21 +03:00
Gregory Eremin 6f56486566 Move all stats related code to stats package 2015-10-27 02:54:00 +03:00
Gregory Eremin 1cace592e6 Move basic features of stats logger into base structure 2015-10-27 02:11:09 +03:00
Gregory Eremin 98ff2625a4 Stats group tests 2015-10-26 13:22:01 +03:00
Gregory Eremin 3918b26043 Cleanup duplicated code 2015-10-25 14:35:39 +03:00
Gregory Eremin e098c2d7ea Give number printer adequate reasons to crash 2015-10-24 19:34:33 +03:00
Gregory Eremin 6d56b1b3be Update example consumer 2015-10-24 19:28:17 +03:00
Gregory Eremin 797e892120 Customizable logger 2015-10-24 19:25:16 +03:00
Gregory Eremin 4465d2c561 Handle worker crashes 2015-10-24 18:49:38 +03:00
Gregory Eremin 2ebd972a34 Add statistics fetcher interface 2015-10-24 18:17:24 +03:00
Gregory Eremin 1550495bf9 Collect task wait statistics 2015-10-24 18:08:12 +03:00
Gregory Eremin bfa1575d79 Add statistics groups 2015-10-24 04:22:02 +03:00
Gregory Eremin 0e1fbbe729 Language 2015-10-24 03:07:47 +03:00
Gregory Eremin 3937c71a42 Skip base function in task name 2015-10-24 02:42:58 +03:00
Gregory Eremin 78cfb92db3 Use statistics logger in example app 2015-10-24 02:42:00 +03:00
Gregory Eremin 0549519e0e Implement statistics logger 2015-10-24 02:41:41 +03:00
Gregory Eremin 0e5670707f Add statistics interface 2015-10-24 02:41:19 +03:00
Gregory Eremin d2041b69a1 Handle panic debug on the Satan side 2015-10-24 02:40:20 +03:00
Gregory Eremin 182cfa3e40 Use auto increment value as worker index 2015-10-24 01:04:47 +03:00
Gregory Eremin 53f2cec247 Move rate limiting advise to the second place 2015-10-18 03:56:37 +03:00
Gregory Eremin 0c77cdb096 Reset system task creation time when restarting 2015-10-18 03:49:33 +03:00
Gregory Eremin 285d05cfd2 Log messages on Kafka startup/shutdown 2015-10-18 03:46:52 +03:00
Gregory Eremin 787156d3ba Wait for Kafka partition to shutdown 2015-10-18 03:45:25 +03:00
Gregory Eremin ef17093207 Now we can safely stop waiting for tasks when shutdown is closed 2015-10-18 03:34:10 +03:00
Gregory Eremin d847be21c6 Make shutdown handling predictable 2015-10-18 03:22:07 +03:00
Gregory Eremin 559886f297 Move task to a separate file, move processing logic to task.process 2015-10-17 06:16:00 +03:00
Gregory Eremin e8aebe3b1c Wrong indentation in submodules file lol 2015-10-17 06:00:51 +03:00
Gregory Eremin f89a21334d Make use of git submodules and GO15VENDOREXPERIMENT env variable 2015-10-17 05:58:55 +03:00
Gregory Eremin ec98145508 Correct zero rate to 1 too 2015-10-17 05:37:13 +03:00