githubbob42 / mingle2github2

0 stars 1 forks source link

Measure # of Downloaded rows across all objects #2783

Open githubbob42 opened 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 3068 The implementation can be straightforward based on which option we select, but whatever solution needs to be scalable as we add more objects. 

Some of the strategies incldue:

1.) Have Client sync iterate through all downloaded objects at the end and count all records. Some of what need to solve around the download package:

The common pattern around objects and their data sent down to the client is documents."objectName".data = array of items.

some objects are mapped in a different form

Ex: 

2.) Have each module in the client(that handles downloaded data publish out their row count.

3.) Resolve row count on the server sync steps and pass it down to the client.

4.) Resolve row count on server and publish out metrics using correlation id

githubbob42 commented 5 years ago

Story: #2780 Vanity metrics for trust site (Mingle)