Amazon.com, Inc.
Data store item count service
Last updated:
Abstract:
A data store item count process determines the number of items in a data store (e.g., the number of items in a database table). In response to receipt of triggering events (e.g., additions or deletions of items in a table), a function registered to process the events is launched. The function processes the events to identify a net change to a count of items, and updates a value in a data store based on the net change. Multiple functions may process events for respective sets of partitions of a table, or for respective sets of tables, and update a distinct count value for each partition or table. In some instances, the process is performed within the context of a serverless compute environment; the function may retire, without saving an execution state for the function. A reporting function may access the value and send the value to a metrics reporting service.
Utility
22 May 2017
21 Jun 2022