Francesco Mazzoli
1ec63f9710
Implement scrubbing functionality
...
Fixes #32 . This also involves some reworking of the block request machinery
to make it more robust and faster. The scrubbing is done assuming that
the overwhelming majority of block checking will go through.
2023-11-05 18:33:00 +00:00
Francesco Mazzoli
1922cf3c30
Factor out common looping patterns
2023-08-08 09:21:35 +01:00
Francesco Mazzoli
18b2397842
Some Timings.hpp functions
2023-08-03 23:41:11 +00:00
Francesco Mazzoli
698794ac44
Fix bad indexing in Timings.hpp
2023-08-03 21:06:49 +00:00
Francesco Mazzoli
60554ec58d
Have bigger histograms, remove other metrics entirely
...
The `uint16_t` -> `size_t` in `packedSize` is because now
insert stats requests are bigger than `uint16_t`.
2023-07-26 10:01:27 +00:00
Francesco Mazzoli
5776bb6d34
Include duration in mean/stddev stat
2023-07-24 19:03:16 +01:00
Francesco Mazzoli
fe14ec5c22
Aggregate mean/stddev stat into one, together with count
...
This makes more sense so that we can combine multiple ones together
2023-07-22 20:17:53 +01:00
Francesco Mazzoli
ce21016ad9
Fix mean/stddev calculation
2023-07-19 21:44:17 +00:00
Francesco Mazzoli
6aa670b481
Remove mean/stddev computation in C++
...
It's broken (also in Go), will fix in the following days.
2023-07-19 11:48:38 +00:00
Francesco Mazzoli
b4613bd47e
Fix other little stddev things
2023-07-18 14:43:29 +00:00
Francesco Mazzoli
5c849c0d96
Fix timings stddev overflow
...
This adds a couple of locks which could be avoided by being a bit
more clever, but almost certainly doesn't matter for now.
2023-07-18 14:37:37 +00:00
Francesco Mazzoli
3cc7310a6e
Add histograms for all components in /stats
2023-07-17 08:56:09 +00:00