[tor-bugs] #4440 [Analysis]: Attempt an implementation of the relay-search database using MongoDB or CouchDB

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Nov 14 09:33:41 UTC 2011


#4440: Attempt an implementation of the relay-search database using MongoDB or
CouchDB
----------------------+-----------------------------------------------------
 Reporter:  karsten   |          Owner:  karsten
     Type:  task      |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Analysis  |        Version:         
 Keywords:            |         Parent:         
   Points:            |   Actualpoints:         
----------------------+-----------------------------------------------------

Comment(by karsten):

 I ran a comparison of import performance for PostgreSQL and CouchDB.  The
 task was to import 1 month of network status consensuses and update
 indexes for relay-search queries after every insert.  See the attached
 graph.  Both import times (40 and 90 minutes) are reasonably fast for
 importing 1 month of data.

 The next step will be to implement query generators and executors for both
 databases and compare query performance.  If the results are reasonable
 for both databases, I'm going to import, say, two years of data into the
 databases and compare import and query performance.

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


More information about the tor-bugs mailing list