Patent ID: 8775556

Claim:
A machine-implemented method for segmenting and storing event tracking data over a rolling window of time, the method comprising: collecting, at a collecting tier, a first event tracking data; pushing, from the collecting tier, the first event tracking data to a logging tier; pushing, from the logging tier, the first event tracking data to a real-time analytics tier; indexing, using a first time stamp associated with the first event tracking data, an array element of an array, the array element comprising a time interval and a plurality of references, each corresponding to a respective aggregation table, each of the aggregation tables storing data of a different type; comparing the first time stamp with the time interval; determining, responsive to the first time stamp falling within the time interval, a reference from the plurality of references, the reference corresponding to an aggregation table of a data type of a first associated data associated with the first event tracking data; updating the referenced aggregation table by incrementing a hit data corresponding to the first associated data; collecting, at a collecting tier, a second event tracking data; pushing, from the collecting tier, the second event tracking data to a logging tier; pushing, from the logging tier, the second event tracking data to the real-time analytics tier; indexing, using a second time stamp associated with the second event tracking data, the array element; comparing the second time stamp with the time interval; storing, responsive to the second time stamp falling outside the time interval, a new time interval in the array element based on the second time stamp; deleting all entries of the referenced aggregation table; and adding an entry to the referenced aggregation table, the entry comprising a second associated data associated with the second event tracking data and a hit data of one.