Accounting Aggregator

From Gcube Wiki
Revision as of 13:19, 1 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:

  • Daily (every Sunday 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
  • Weekly (every first Wednesday at 2.00 AM UTC of Month M it aggregates all the Records accounted the Month M-3 (monday->sunday) ) => accounting records per day are available for at least the two latest months but not more than three 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
  • 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