----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/13603/#review25772 -----------------------------------------------------------
3rdparty/libprocess/include/process/statistics.hpp <https://reviews.apache.org/r/13603/#comment50302> note for myself: I should update the default window size in process.cpp now that this adds sparsification. - Ben Mahler On Aug. 15, 2013, 10:13 p.m., Ben Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/13603/ > ----------------------------------------------------------- > > (Updated Aug. 15, 2013, 10:13 p.m.) > > > Review request for mesos, Benjamin Hindman and Vinod Kone. > > > Repository: mesos-git > > > Description > ------- > > The first part of this change is the removal of the archive operation. > > This also exposes a TimeSeries data structure used by Statistics. > > The goal here is to provide reasonable historical information for high > frequency time series that rapidly exceed capacity. > TimeSeries allows a window of values to be stored, while "sparsifying" older > values when the capacity is exceeded. > See the documentation on TimeSeries for details. > > An alternative, more deterministic approach, is to use sampling on older > values. > Both approaches have their advantages and disadvantages. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/statistics.hpp > fbae64153b4fc53cfba8c74c0a016184bcd4e188 > 3rdparty/libprocess/src/statistics.cpp > d4ba9f146f7b9b46525a0e27fbfb3d61a21a94fc > 3rdparty/libprocess/src/tests/statistics_tests.cpp > 8695f4599a55c78c7c6490a45d25fcab38fb31af > > Diff: https://reviews.apache.org/r/13603/diff/ > > > Testing > ------- > > Added tests to verify the truncation and sparsification of time series. > > > Thanks, > > Ben Mahler > >
