[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 27 15:53:44 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:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 I'm attaching a quick and dirty implementation of the format, with
 indices.  (I rote it on a car trip, so I didn't have endian7000's
 implementation in front of me, and I wanted something to play with.)  It
 sticks the tables and index in one file, and the data in another, though
 I'm still not sold on having two separate files -- if we do keep files
 separate, we should do something to keep people from accidentally getting
 thmem out of sync.

 Also, this approach still needs C code.  I'm going to suggest that we
 start by just adding this as another format that we read into our existing
 in-core format, and then only later add support for keeping the raw data
 mmap'd for low-RAM environments.

 endian7000, are you still interested in working on that?

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


More information about the tor-bugs mailing list