[Mongrel] MogileFS handler
technoweenie at gmail.com
Thu Nov 2 09:56:58 EST 2006
On 11/2/06, Philippe Jayet <hip at lan-attack.ch> wrote:
> > There is a mogile-fs client from robotcoop
> > http://dev.robotcoop.com/Libraries/mogilefs/index.html
> > that can be easily integrated with your Rails app.
> I'll definitely be using this library in my application. But I need some
> way to serve the MogileFS files (mainly images and audio files) and I
> don't want to use Rails for this. All the overhead is unnecessary.
> To serve the MogileFS files, Robot Co-op are using their
> webrick-high-performance server with a servlet for accessing MogileFS
> (through their mogilefs-client library). I think it would be easier in
> my setup to use Mongrel for this task.
> By the way, my setup is : Apache 2.2 load balancing requests to
> Mongrel/Rails. Another option would be to use Apache to serve the
> MogileFS files.
> Thanks for your help,
You should be able to write one very easily. I have a
mongrel_send_file plugin (unrelated to the sendfile header) that might
be a good reference: http://rubyforge.org/projects/msend-file/
More information about the Mongrel-users