[tor-bugs] #2506 [Tor Relay]: Design and implement a more compact GeoIP file format

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jun 6 22:44:24 UTC 2011


#2506: Design and implement a more compact GeoIP file format
-------------------------+--------------------------------------------------
 Reporter:  rransom      |          Owner:  endian7000        
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
Changes (by nickm):

  * status:  assigned => needs_review


Comment:

 Throwing this into needs_review myself.

 I'm not so sure that having this stuff in separate run-length and cc files
 will actually be needed; endianness issues will keep us from reading any
 portable file into an array-of-country verbatim, I think.  Let's see how
 tricky the read code is before we decide that complexifying the format is
 worth it in order to make the read code simpler.

 I'm also not clear how  best to read this format quickly on the fly:
 unpacking it all into ram seems like a lose if we don't have to; a
 workable index format would be neat (and would be much easier for fixed-
 length or self-synchronizing records.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2506#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list