Commit Graph

23 Commits

Author SHA1 Message Date
Jan Halfar
2fa98dad5e
feat: polling support (#27) 2022-05-26 15:28:22 +02:00
Stefan Martinov
0e44ca809d
Deterministic Log Messaging & Refactoring (#26)
* feat: remove apex log from dependency list & upgrade deps

* chore: remove commented out code

* chore: remove high cardinality metric labels

* chore: add stack trace to failed repo requests

* chore: remove logging and return error instead

* chore: change log messages for contentserver

* chore: add constistent messages to content update routine

* feat: add runtime id, and multierr validator

* chore: rename history

* chore: golint fixes

* chore: simplify (golinter)

* chore: update go version

* chore: remove unused dependencies for new go

* chore: move content update to else statement

* chore: remove go-spew

* chore: bump go version to 1.18

* chore: remove alpine dep for updated deps

* chore: update go version and improve build

* chore: minor reformatting
2022-05-26 15:09:11 +02:00
Stefan Martinov
ffa04ace36 feat: add better metrics for errors 2020-11-23 11:33:36 +01:00
Stefan Martinov
ddb4adf571 feat: add update request queue test 2020-11-22 18:53:16 +01:00
Stefan Martinov
934b1dc9c4 fix: add update log queue rejection 2019-10-25 16:37:05 +02:00
Stefan Martinov
620291db4a feat: remove errors in update queue and add recovery mechanism 2019-09-25 17:27:00 +02:00
Philipp Mieden
e6e95db586 fixed log rotation and updated tests accordingly 2019-05-29 15:23:42 +02:00
Philipp Mieden
6381c7c0c2 added metric for failed attempts to persist the content history 2019-05-29 14:14:15 +02:00
Philipp Mieden
1b7aa6475e skip nodeRequests with empty name or id 2019-05-24 16:23:20 +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
647853292b added new metrics 2019-05-23 16:23:24 +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
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
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
Frederik Löffert
f7aea048d3 lock update requests 2019-05-21 16:06:49 +02:00
Philipp Mieden
5e44495adc replaced encoding/json with jsoniter high performance pkg 2019-05-21 10:59:54 +02:00
Philipp Mieden
9d94c09735 grouped variable declarations 2019-05-21 09:56:38 +02:00
Philipp Mieden
7f9b32162e used a simple channel send/receive instead of with a single case 2019-05-21 09:55:55 +02:00
Jan Halfar
37147120e2 safer access to repo.Directory in _updateDimension 2018-11-27 12:56:38 +01:00
Jan Halfar
988de10e70 added history cleanup 2016-03-07 17:43:51 +01:00
Jan Halfar
e18e19f6ac flattened project structure and listened to golint 2016-03-07 15:36:34 +01:00