Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

457 experiment #487

Closed
wants to merge 5 commits into from
Closed

457 experiment #487

wants to merge 5 commits into from

Commits on Jan 17, 2017

  1. initial version of cache pushing for hot metrics

    refers to ticket #457
    replay committed Jan 17, 2017
    Configuration menu
    Copy the full SHA
    b429e48 View commit details
    Browse the repository at this point in the history
  2. add tests for CacheIfHot

    replay committed Jan 17, 2017
    Configuration menu
    Copy the full SHA
    5a92925 View commit details
    Browse the repository at this point in the history
  3. adds two more unit tests which are testing:

    - does aggmetric call the cache push callback every time a metric gets
      evicted from the ring buffer?
    - does aggmetric add the chunk into the store if the node is primary?
    - makes the devnullStore count how many times it's Add() got called
    - does aggmetric not add the chunk into the store if the node is not primary?
    replay committed Jan 17, 2017
    Configuration menu
    Copy the full SHA
    6ad0080 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2017

  1. simplify loop

    Dieterbe committed Jan 20, 2017
    Configuration menu
    Copy the full SHA
    0d4eddb View commit details
    Browse the repository at this point in the history
  2. let MockCache take care of the accounting

    this lets us simplify the unit tests and focus them on their business
    logic
    Dieterbe committed Jan 20, 2017
    Configuration menu
    Copy the full SHA
    d6d6bd5 View commit details
    Browse the repository at this point in the history