m-lab / uuid-annotator

Produces metadata locally for every connection on each server.
Apache License 2.0
0 stars 0 forks source link

Add RouteView parser and enable ASN annotations #18

Closed stephen-soltesz closed 4 years ago

stephen-soltesz commented 4 years ago

This change adds a routeview package for parsing and searching the RV data. This will be used by the ASN annotator.

Search uses golang sort.Search. ParseRouteView is designed to reduce memory requirements as much as possible. This is accomplished in two ways:

This was the best of four approaches as benchmarked from sandbox-soltesz-scratch, including:


This change is Reviewable

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 129


Totals Coverage Status
Change from base Build 122: 3.6%
Covered Lines: 379
Relevant Lines: 466

💛 - Coveralls
stephen-soltesz commented 4 years ago

https://github.com/m-lab/dev-tracker/issues/534