m-lab / uuid-annotator

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

Load one copy of Geo & ASN data in RAM #11

Closed stephen-soltesz closed 4 years ago

stephen-soltesz commented 4 years ago

As currently implemented, the combination of the gcsProvider and ipannotator effectively keep two copies of the data in memory.

The gcsProvider should track the md5 to observe updates but assign ownership to the annotators that call .Get so that there is effectively only a single copy of the data in memory.