m-lab / mlab-vis-pipeline

M-Lab Visualization Dataflow pipelines for transforming ndt.all into the needed aggregation tables in bigtable.
2 stars 4 forks source link

order client asns by metric #4

Closed vlandham closed 8 years ago

vlandham commented 8 years ago

it would be nice to have the client asns and locations in the list tables to be presorted by a metric.

One way to do this would be to suffix the key with the metric used to sort (test count for example).

A drawback would be special scans would be needed to pull out just one row (we wouldn't have in the API call the ability to recover the metric value to make a full key).

vlandham commented 8 years ago

This is done on the API side right now - and it works well enough for now.