Lou Knauer
3eba385e97
Handle unaligned data more robustly
2022-03-18 08:37:25 +01:00
Lou Knauer
fdbf94f2a1
Optionally delete checkpoints instead of archiving
2022-03-14 08:48:22 +01:00
Lou Knauer
3619d7a157
Refactor and simplify
2022-03-08 09:27:44 +01:00
Lou Knauer
af8a275088
Fix panic in ListChildren
2022-03-04 15:33:47 +01:00
Lou Knauer
4a78a24034
Copy all byte slices from decoder
...
While trying to optimize things I overread this: "the byte slices returned by the Decoder methods are only valid until the next call to any other Decode method."
2022-01-24 09:50:12 +01:00
Lou Knauer
bf7c33513b
reduce allocations and locking
2022-01-21 10:47:40 +01:00
Lou Knauer
b6b219a9ad
Unified API for all query types; remove dead code
2022-01-20 10:42:44 +01:00
Lou Knauer
878e9d7154
Start working on pre-computed stats
2021-12-15 09:59:33 +01:00
Lou Knauer
5d89d87a2d
Reduce gaps/rewrites in the same cell with offset
...
A new buffer remembers the timestamp of the first write.
Instead of cutting of cells relative to that time, have
a little "time buffer" so that rewriting the same cell twice
happens less often.
2021-12-02 12:57:35 +01:00
Lou Knauer
becf41f98c
Reset buffer size when reused
...
The buffers data slice size needs to be reset to 0
before it can be reused. Also, buffers that come from
the archive should not be reused as they might have
strange capacities.
2021-12-02 12:53:49 +01:00
Lou Knauer
fee0061172
Fix panic in findBuffers when Any pattern is used
2021-12-01 13:22:07 +01:00
Lou Knauer
0219c48e78
Fix bug when reading past newest buffer
2021-11-30 13:09:21 +01:00
Lou Knauer
579a05e4df
Fix bug in calculation of what is archived
2021-11-22 17:50:15 +01:00
Lou Knauer
458383d152
Do re-write buffers loaded from checkpoint; Add SIGUSR1 for debugging
2021-11-22 17:04:09 +01:00
Lou Knauer
fecc33a224
One less allocation
2021-10-11 10:56:38 +02:00
Lou Knauer
2fc6ad284f
Handle new line-protrocol format in handleLine
2021-10-07 14:59:07 +02:00
Lou Knauer
2046415f9c
Change out-of-bounds behaviour
2021-09-20 10:29:55 +02:00
Lou Knauer
372d07b454
Rename archive to checkpoints; new config
2021-09-13 12:28:33 +02:00
Lou Knauer
b55a67f869
New selector type for better selection of sockets/cpus
2021-09-08 12:17:10 +02:00
Lou Knauer
a269ab423b
Lazy-init children; Use slice for metric buffers
2021-09-08 10:29:36 +02:00
Lou Knauer
dc92d17675
Add free function; Optimize read with aggregation
2021-09-07 09:21:08 +02:00
Lou Knauer
61bc7df93a
Use RWLock instead of classical Mutex
2021-09-01 08:47:57 +02:00
Lou Knauer
4c51f5c613
Fix metric-store.go and apo.go, new config file format
2021-08-31 15:17:36 +02:00
Lou Knauer
10f0da6000
New unfinished MemoryStore implementation
2021-08-31 10:52:22 +02:00