Differences between version 2 and revision by previous author of RoundRobinArchive.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Sunday, August 10, 2003 5:56:52 pm | by WikiAdmin | Revert |
Older page: | version 1 | Last edited on Saturday, September 28, 2002 8:27:10 pm | by CraigBox | Revert |
@@ -1,9 +1,9 @@
-([Acronym]: RRA)
+([WLUG:
Acronym]: RRA)
Think of a round-robin archive as a data structure that contains a pointer and N (eg 1000) spaces for data.
Whenever you want to add a data item, you put the data item at the space pointed to by the pointer and increment it. If it gets to N, you set it back to 0 again.
Basically, this lets you easily build a graph of the last 1000 items of data, without ever having a situation where you store more than 1000 items of data and have to remove any of them.
This is how [rrdtool] works.