[tahoe-lafs-trac-stream] [tahoe-lafs] #1382: immutable peer selection refactoring and enhancements

tahoe-lafs trac at tahoe-lafs.org
Thu Nov 17 03:50:06 UTC 2011


#1382: immutable peer selection refactoring and enhancements
------------------------------------+----------------------------------
     Reporter:  kevan               |      Owner:  davidsarah
         Type:  enhancement         |     Status:  assigned
     Priority:  major               |  Milestone:  soon
    Component:  code-peerselection  |    Version:  1.8.2
   Resolution:                      |   Keywords:  design-review-needed
Launchpad Bug:                      |
------------------------------------+----------------------------------

Comment (by kevan):

 We discussed #1382 at the second Tahoe-LAFS summit. We concluded that this
 approach (splitting peer selection into two parts along a well-defined and
 generally useful interface) was a good approach, and that a more complete
 and correct share allocation algorithm (share director? share overlord? I
 don't think we agreed on a name for the object) was a good idea. I think
 we concluded that the right path to bring #1382 into trunk was something
 like:

   * Split the current peer selection/share allocation algorithm out into a
 separate class, implementing the interface described in this ticket. I
 guess we won't have any functional changes at this step, but it will help
 us design an interface that will be useful in general.
   * Solicit feedback on the interface.
   * Develop an implementation of the revised share placement algorithm
 using the interface that meets Brian's performance desiderata (200 shares,
 1000 servers, 1 second).

 Once that's done, we'll have an easy way for people to add new share
 placement algorithms to Tahoe-LAFS, and a share placement algorithm that
 fixes the corner cases users currently experience with servers of
 happiness.

 I should have more free time in December than I've had lately, so I'll be
 happy to work on #1382. I don't know if we want to plan on #1382 for 1.10,
 or defer it until a future release; if we discussed that at the summit, I
 don't remember what we concluded.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1382#comment:8>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list