mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-11-03 18:25:08 +01:00
1.3 KiB
1.3 KiB
TODO
- Delete this file and create more GitHub issues instead?
- Missing Testcases:
- Port at least all blackbox tests from the "old"
MemoryStoreto the new implementation - Check for corner cases that should fail gracefully
- Write a more realistic
ToArchive/FromArchivetests - Test edgecases for horizontal aggregations
- Port at least all blackbox tests from the "old"
- Release Data
- Implement API endpoint for releasing old data
- Make sure data is written to disk before it is released
- Automatically free up old buffers periodically?
- Implement basic support for aggregations over time (stats like min/max/avg)
- Optimization: Once a buffer is full, calculate min, max and avg
- Calculate averages buffer-wise, average weighted by length of buffer
- Optimization: Once a buffer is full, calculate min, max and avg
- Implement basic support for query of most recent value for every metric on every host
- Optimize horizontal aggregations
- Optimize locking of levels in the tree structure
- In 99.9% of cases, no new level will need to be created, so all lookups into
level.childrenwill be read only level.metricswill be modified more often and will accesses will need to be serialized here- Suggestion: Use a proper Mutex for
level.metrics, but something read-optimized and possibly lock-free forlevel.children
- In 99.9% of cases, no new level will need to be created, so all lookups into
- ...