5 ms·
i've got mutliple questions : - are there any logging capabilities ? For exemple for feeding a cassandra cluster for later event analysis and processing. - ar
by bsaul 11y ago
i've got mutliple questions :
- are there any logging capabilities ? For exemple for feeding a cassandra cluster for later event analysis and processing.
- are there any monitoring feature ? Inspecting server load or average latency ?
- what about sharding in case of load ?
- FZambia 11y agoHello! - at moment logging is quite unstructured - just text entries, written into stdout or file. In future I am planning to move to something like this (https://github.com/Sirupsen/logrus https://github.com/Sirupsen/logrus) and improve log structure. - metrics exist in Centrifuge but the next step for Centrifugo (the only thing left to be fully compared with Python version). At moment external monitoring tools can be used for CPU and memory monitoring. I am planning to utilize this library for metrics - https://github.com/rcrowley/go-metrics https://github.com/rcrowley/go-metrics - you can run several instances on different machines connected via Redis and load balance clients between them. But no sharding support out of the box. What do you think about this? I highly appreciate any feedback