Commit Graph

250 Commits

Author SHA1 Message Date
Philipp Mieden
6381c7c0c2 added metric for failed attempts to persist the content history 2019-05-29 14:14:15 +02:00
Philipp Mieden
581e68599c added flag to set the maximum number of history versions, set default to 1 2019-05-29 13:59:18 +02:00
Philipp Mieden
1c814a450c testclient: log number of dimensions for GetRepo 2019-05-29 13:58:14 +02:00
Philipp Mieden
2cf28f7217 updated graphics for horizontal scaling 2019-05-29 12:23:55 +02:00
Philipp Mieden
8197ec0931 removed version flag: git tags are used for versioning 2019-05-27 14:35:06 +02:00
Philipp Mieden
8d85fc5f81 GetRepo cleanup and testing, fixed unit tests 2019-05-27 12:11:16 +02:00
Philipp Mieden
0aed28b524 removed links 2019-05-27 10:45:32 +02:00
Philipp Mieden
fcc36028c1 Merge branch 'feature/memdebug' of github.com:foomo/contentserver into feature/memdebug 2019-05-27 10:23:37 +02:00
Philipp Mieden
1d3405cbf7 updated graphics and readme 2019-05-27 10:23:28 +02:00
Philipp Mieden
9e8a0cb6d3 cleanup 2019-05-24 17:45:44 +02:00
Philipp Mieden
735a0ab3f8 cleanup 2019-05-24 17:45:44 +02:00
Philipp Mieden
3b4a55f18e added flags to testclient, added optional getrepo call 2019-05-24 17:40:26 +02:00
Philipp Mieden
a5ff003d8f added flags to testclient, added optional getrepo call 2019-05-24 17:40:26 +02:00
Philipp Mieden
871c844f7b refactored GetRepo: serve JSON from fs and write directly into http.ResponseWriter 2019-05-24 16:41:57 +02:00
Philipp Mieden
8224e92d4d Merge branch 'feature/memdebug' of github.com:foomo/contentserver into feature/memdebug 2019-05-24 16:23:28 +02:00
Philipp Mieden
1b7aa6475e skip nodeRequests with empty name or id 2019-05-24 16:23:20 +02:00
Frederik Löffert
aa0f6695d7
disabled debug mode on default 2019-05-24 15:14:44 +02:00
Frederik Löffert
4e6eecc673
loglevel removed from Dockerfile 2019-05-24 15:02:15 +02:00
Philipp Mieden
69dec41605 refactored repo to reuse a bytes.Buffer for updates, to reduce the number of allocations 2019-05-24 13:00:28 +02:00
Philipp Mieden
5cff674940 working on prometheus dashboard 2019-05-23 17:51:20 +02:00
Philipp Mieden
33364e3af8 added metric constructors 2019-05-23 16:33:01 +02:00
Philipp Mieden
647853292b added new metrics 2019-05-23 16:23:24 +02:00
Philipp Mieden
79d828bb23 implemented stefans feedback on prometheus metrics 2019-05-23 15:29:07 +02:00
Philipp Mieden
7c29ec73e4 updated Dockerfile to log json in production 2019-05-23 14:23:42 +02:00
Philipp Mieden
71403194e2 removed log level flag 2019-05-23 14:23:26 +02:00
Philipp Mieden
e9245a200c replaced logger, fixed update queue mechanism 2019-05-23 14:20:38 +02:00
Philipp Mieden
d9f6cc60c4 cleanup 2019-05-23 10:39:44 +02:00
Philipp Mieden
e874cc2b16 implemented queuing update requests and canceling new ones when the queue is full 2019-05-23 10:35:30 +02:00
Philipp Mieden
2decb53ec1 added main datastructures to graffle 2019-05-23 09:17:09 +02:00
Philipp Mieden
2faa088178 added more profiling targets to Makefile 2019-05-23 09:16:47 +02:00
Philipp Mieden
e2a51bb5a5 updated testclient logging 2019-05-23 09:16:04 +02:00
Frederik Löffert
0056f53b97 Merge branch 'feature/memdebug' of github.com:foomo/contentserver into feature/memdebug 2019-05-22 18:11:34 +02:00
Philipp Mieden
28292faea9 commented out unused RepoNode constructor, updated pprof 2019-05-22 09:52:58 +02:00
Philipp Mieden
a4097c05f4 added targets for testing 2019-05-21 17:30:39 +02:00
Philipp Mieden
97633dc9d9 debug mode: only print number of json bytes and dont dump the entire beast to stdout 2019-05-21 17:30:20 +02:00
Philipp Mieden
eca5e3b4f0 fixed loops for mem profiling 2019-05-21 17:29:16 +02:00
Frederik Löffert
f7aea048d3 lock update requests 2019-05-21 16:06:49 +02:00
Philipp Mieden
1449d6902c server cleanup 2019-05-21 15:01:13 +02:00
Philipp Mieden
18897d2e32 updated deps 2019-05-21 12:36:06 +02:00
Philipp Mieden
0827eb9b4a added makefile section comments 2019-05-21 12:35:56 +02:00
Philipp Mieden
63640b24b2 updated makefile targets for profiling 2019-05-21 12:11:54 +02:00
Philipp Mieden
3985784579 added pprof debug server 2019-05-21 12:11:39 +02:00
Philipp Mieden
55fd63b82d added memory profiling flag for dumping heap periodically 2019-05-21 12:11:16 +02:00
Philipp Mieden
295cdf66fc flag naming convention 2019-05-21 11:45:47 +02:00
Philipp Mieden
03d5b36706 repo history code cleanup 2019-05-21 11:43:28 +02:00
Philipp Mieden
65b6b2341a added free-os-mem flag to contentserver 2019-05-21 11:43:06 +02:00
Philipp Mieden
0735b5ad18 code cleanup, grouping declarations 2019-05-21 11:17:03 +02:00
Philipp Mieden
f20402ef5f git ignore profiling files 2019-05-21 11:10:33 +02:00
Philipp Mieden
dc047baf32 repo code cleanup 2019-05-21 11:10:05 +02:00
Philipp Mieden
f0df9a6322 added profile-test target to makefile 2019-05-21 11:09:51 +02:00