Accounting Aggregator

From Gcube Wiki
Revision as of 14:45, 21 June 2016 by Pasquale.pagano (Talk | contribs) (Accounting Aggregator Execution)

Jump to: navigation, search

This component is responsible of aggregating the collected Accounting data. PLEASE NOTE THAT THIS COMPONENT IS NOT READY YET. IT IS STILL UNDER DEVELOPEMENT.

Accounting Aggregator in the Accounting Architecture

The following image evidences the accounting-aggregator components as part of Accounting Architecture:

Accounting-architecture-accounting-aggregator.png

Accounting Aggregator Execution

This component is a Smart Executor plugin and is launched as Global Scheduled Task (see Smart Executor for further information)

It aggregates (loseless) accounted Usage Record. The scheduling plan is to run on different smart-executor equipped with this plugin with the following parameters:

  • Hourly (every day D at 1.00 AM UTC it aggregates all the Records accounted the day D-3 ) => accounting records per minutes are available for at least the two latest days
  • Daily (every day of Week K at 02:00 AM UTC it aggregates all the Records accounted the Week K-1) => accounting records per hour are available for at least the latest week but not more than two weeks
  • Monthly (every 1st of the Month H at 2.00 AM UTC it aggregates all the Records accounted till the Month H-6) => accounting records per week are available for at least the latest 6 months but not more than seven months
  • Yearly (every 2nd of the month at 2.00 AM UTC it aggregates all the Records accounted till the Month H-24 )=> accounting records per month are available for at least the latest 2 years