[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6471 [Metrics Utilities]: Design file format and Python library for multiple GeoIP or AS databases
#6471: Design file format and Python library for multiple GeoIP or AS databases
-------------------------------+--------------------------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Metrics Utilities | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------------+--------------------------------------------
Comment(by gsathya):
Replying to [comment:2 karsten]:
> Hmm. How about a third approach: write a library that a) reads
unmodified database files to memory, maybe together with a mapping file
containing dates when these files became valid, and b) resolves IP
addresses and dates to country codes or ASes. We wouldn't want to
memorize the full file contents, but only the relevant information for
looking up an IP address and date. But we can still wonder about a
compact file format for that later on.
This means we'll have to store multiple GeoIP database files. Is this a
good idea? wouldn't it be better to have a single file?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6471#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs