abacus-cf-renewer
CF App Usage renewer
Last updated 9 months ago by hsiliev .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install abacus-cf-renewer 
SYNC missed versions from official npm registry.

abacus-cf-renewer

Providers of resources metered using time-based usage metrics need to send at least one usage "ping" doc per month, to get the consumption from the previous month accumulated and carried over each month, while these resources are still active.

This allows inactive resources to not be carried over into each new monthly database partition and get naturally phased out (sort of garbage collected). Without that, Abacus would have to keep around usage for these inactive resources forever, causing its monthly databases to grow indefinitely.

The required "ping" usage submission can happen anytime during the month.

The memory consumption metric used in the linux-container sample resource is time-based and it is used by cf-bridge. Therefore users of cf-bridge need to send such "ping" requests to Abacus.

The cf-renewer app transfers the active resource consumption from the previous month into the current one by effectively sending the required "ping" doc.

To do this the following steps are executed:

  • cf-bridge stores a reference to start or scale usage in a special carry-over DB
  • cf-bridge deletes the reference on application stop
  • cf-renewer lists the collected usage from the previous month
  • cf-renewer re-submits the active usage for the current month

Current Tags

  • 1.1.5                                ...           latest (9 months ago)

22 Versions

  • 1.1.5                                ...           9 months ago
  • 1.1.5-rc.3                                ...           9 months ago
  • 1.1.5-rc.2                                ...           9 months ago
  • 1.1.5-rc.1                                ...           9 months ago
  • 1.1.5-rc.0                                ...           9 months ago
  • 1.1.4                                ...           10 months ago
  • 1.1.4-rc.3                                ...           10 months ago
  • 1.1.4-rc.2                                ...           10 months ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.1-rc.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.1.0-rc.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.6-dev.9                                ...           3 years ago
  • 0.0.6-dev.8                                ...           3 years ago
  • 0.0.6-dev.7                                ...           3 years ago
  • 0.0.6-dev.6                                ...           3 years ago
  • 0.0.6-dev.5                                ...           3 years ago
  • 0.0.6-dev.3                                ...           3 years ago
  • 0.0.6-dev.2                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 23
Dependencies (25)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |