Werk #7572 · Feb 25, 16
Avoid quadratic time complexity in buffer handling
The rrdcached used a naive algorithm for handling its write buffer, leading to quadratic time complexity: In an example at hand, more than 130GB of data was needlessly shuffled around when trying to fetch a small amount of data points. This algorithm has been replaced by one with amortized linear complexity, vastly improving performance for various rrdcached operations.
Fixed a few arbitrary length restrictions on the way.
Details
- Class:
- Bug Fixes
- Level:
- Prominent
- Component:
- Packages
- Versions:
- 1.2.7i3CommunityProUltimate + MT