An Activities and related Metrics pattern for a NoSQL key-value store.
A general use case for NoSQL stores is the tracking of activities and events.
An out-of-band process is generally then used to generate additional metrics from the events or activities data.
A simple use case is tracking the reactions to a web post - likes, smiles, down-votes etc. these activities can be track with additional qualifiers (e.g., a down-vote can be a -3 instead of the usual -1).
The activities are stored in the Activities table.
Additional processes can then be executed to generate the metrics, for example, counting the number of likes, or the average likes for an area of a website.
This package contains primarily interfaces and DTOs.
Other additional packages will be available for the various NoSQL services.
The Azure Table API implementation is called "TECHIS.Cloud.ActivityMetrics.AzureTable"
See the version list below for details.
Breaking changes to IMetricsGenerator and Breaking changes to IMetricsQueryable<TRecord>
1) Operations in IMetricsGenerator now use a return type: MetricGenerationResult. This allows us to return additional information like the MetricValue.
2) Operations in IMetricsQueryable<TRecord> now use an envelope return type; QueryResult. This allows us to return metadata that adds transparency to the outcome of the query. The Filter property may be used to return the filter clause that was applied to the query. The SegmentCount may be used to inform on how efficiently the query (how many batches) was executed.
- NETStandard.Library (>= 1.6.1)