[tahoe-dev] [tahoe-lafs] #917: Amazon S3 compatible frontend

tahoe-lafs trac at allmydata.org
Tue Jan 19 22:55:42 PST 2010


#917: Amazon S3 compatible frontend
--------------------------------+-------------------------------------------
 Reporter:  francois            |           Owner:            
     Type:  enhancement         |          Status:  new       
 Priority:  minor               |       Milestone:  eventually
Component:  code-frontend       |         Version:  1.5.0     
 Keywords:  frontend s3 amazon  |   Launchpad_bug:            
--------------------------------+-------------------------------------------

Comment(by zooko):

 Yes! Very cool! The way to do it is to make a variant of
 [source:src/allmydata/storage/server.py] which doesn't read from local
 disk in its [source:src/allmydata/storage/server.py at 4164#L359
 _iter_share_files()], but instead reads the files from its S3 bucket (it
 is an S3 client and a Tahoe-LAFS storage server). Likewise variants of
 [source:src/allmydata/storage/shares.py at 3762 storage/shares.py],
 [source:src/allmydata/storage/immutable.py at 3871#L39 storage/immutable.py],
 and [source:src/allmydata/storage/mutable.py at 3815#L34 storage/mutable.py]
 which write their data out to S3 instead of to their local filesystem.

 Probably one should first start by abstracting out just the "does this go
 to local disk, S3, Rackspace Cloudfiles, etc" part from all the other
 functionality in those four files...  :-)

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/917#comment:1>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list