[tor-bugs] #3015 [BridgeDB]: Enhance bucket functionality

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Apr 29 09:02:10 UTC 2011


#3015: Enhance bucket functionality
-------------------------+--------------------------------------------------
 Reporter:  kaner        |          Owner:  kaner   
     Type:  enhancement  |         Status:  assigned
 Priority:  normal       |      Milestone:          
Component:  BridgeDB     |        Version:          
 Keywords:               |         Parent:          
   Points:               |   Actualpoints:          
-------------------------+--------------------------------------------------

Comment(by karsten):

 Replying to [comment:5 kaner]:
 > Basically, there's two ways to implement the buckets feature:

 Your a) is my favorite here.  The main argument for me is that it fits
 more nicely into the rest of BridgeDB.  Given that we want to add lots of
 new features to BridgeDB soon, I'd really prefer making the code clearer
 and removing special cases.

 If we wanted the flexibility of b) to give out non-running bridges that we
 saw in the last 24 hours, we could still do that by storing when we last
 saw a bridge in Bridges.by.  We could even define that we only want to
 give out running bridges to HTTPS/email, but that we're fine with 1 day
 old bridges for file buckets.  So, this flexibility is not tied to your
 approach b), but can be implemented in a), too.  Anyway, I'd rather
 consider this a bug, not a feature.

 > Maybe we should try to merge the `dump pool assignments` and the
 `bucket` mechanisms somewhat, after all. On closer inspection, I think
 large parts of the code for both features would look quite similar, if we
 decide for this solution.

 The two features are similar, but still different.  For example, we don't
 have to write file buckets for the HTTPS and email distributors as well as
 for unallocated bridges.  Also, the formats of the assignments.log file
 and the file buckets are slightly different.  I'd say it's fine to copy
 the approach taken in dumping assignments for dumping file buckets, but we
 shouldn't try too hard to merge the two yet.

 I'm afraid the bulk of the work here will be up to you.  How can I help?

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


More information about the tor-bugs mailing list