Directly Retrieve MogileFS Items
jbyers at jbyers.com
Mon Apr 9 19:20:35 UTC 2007
MogileFS does exactly 1, 2, and 3. The storage and retrieval of
files is handled via HTTP PUT and HTTP GET. When a MogileFS client
looks up a file group+key, the tracker returns a set of URLs
corresponding to file replicas. You can use mogstored to store and
serve files (the default perlbal webserver) or drop any reasonable
webserver supporting PUT as a replacement.
On Apr 9, 2007, at 12:07 PM, Anthony Volodkin wrote:
> I am working on a web application which involves storing files
> across several machines and then making them available via HTTP.
> I want to use MogileFS to manage these files. It seems that I need
> to use the MogileFS API to retrieve the files well as to store
> them, increasing the retrieve overhead.
> Is it possible to:
> 1) Store a file using MogileFS which will replicate it to several
> machines in this group of servers.
> 2) Make each MogileFS raw store directory on each server available
> via HTTP with a web server.
> 3) Query MogileFS for the possible locations of a given key/file
> and generate a URL which will directly fetch this file from the
> correct web server.
> Can I do this with MogileFS? Are there any other tools I should
> look at?
> Thank you,
> Anthony Volodkin
More information about the mogilefs