Difference between revisions of "Accounting Aggregator"

From Gcube Wiki
Jump to: navigation, search
(Accounting Aggregator Execution)
(Accounting Aggregator Execution)
Line 13: Line 13:
  
 
It aggregates (loseless) accounted Usage Record. The scheduling plan is to run on different smart-executor equipped with this plugin with the following parameters:
 
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
+
* Hourly => accounting records per hour are available for the last week;
* 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
+
* Daily => accounting records per day are available for the latest 3 months;
* 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
+
* Monthly => accounting records per month are available for the last year;
* 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
+
* Yearly => accounting records per year are available for the latest 10 years;

Revision as of 17:46, 30 June 2017

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 => accounting records per hour are available for the last week;
  • Daily => accounting records per day are available for the latest 3 months;
  • Monthly => accounting records per month are available for the last year;
  • Yearly => accounting records per year are available for the latest 10 years;