Patent ID: 11899663
Assignee: STRIPE, INC.
Field: Telecommunications (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 8:
9. A system comprising:
one or more processors; and
a non-transitory memory storing instructions that, when executed by at least one processor among the one or more processors, cause the at least one processor to perform operations comprising:
receiving a first usage record from a first customer system, the first usage record indicating an identification of a first user associated with the first customer system and a quantity of usage of a first unit of measure that occurred during a first predefined time period;
storing the first usage record in a first database;
determining that a usage record aggregation data structure instance exists that uniquely corresponds to both the first user and the first predefined time period, the usage record aggregation data structure instance indicating that usage records of the first user corresponding to the first predefined time period are to be aggregated;
upon determining that the usage record aggregation data structure instance exists, aggregating quantities of usage of the first unit of measure from all usage records, in the first database, that correspond uniquely to both the first user and the first predefined time period;
calculating one or more aggregation metrics based on the aggregated quantities; and
storing the one or more aggregation metrics in a caching layer, along with the identification of the first user and an indication of the first predefined time period.