ChangeLog NEWS README
OMGF HystericalRaisins Pool Regurgitator VerifyPaths

Methods

::new #call #delete #delete_key #get #head #put #put_key #query #redirect_key #stat_key

class OMGF::HystericalRaisins

Basic REST interface. This is bug-for-bug compatible with an old app that's been deployed for years in a private LAN.

This started out as a WORM (write-once, read-many) system, but eventually gained the ability to handle deletes.

This was meant to behave like the MogileFS protocol somewhat (but is pure-HTTP), so it redirects to the storage nodes and bypasses Ruby for bulk I/O when retrieving files. PUTs (writes) still go through Ruby, however.

Public Class Methods

new (opts) source

Public Instance Methods

call (env) source

The entry point for Rack

delete (env) source

DELETE /domain/key

delete_key (env, domain, key) source

DELETE /domain/key

get (env) source

GET /$DOMAIN?prefix=foo - list keys GET /$DOMAIN/$KEY - redirects to FIDs on storage nodes

head (env) source

returns metadata for a given domain/key

put (env) source

PUT /domain/key

put_key (env, domain, key) source

PUT /$DOMAIN/$KEY

query (env) source
redirect_key (env, domain, key) source

GET /$DOMAIN/$KEY

stat_key (env, domain, key) source

HEAD /$DOMAIN/$KEY

Included modules: OMGF::Pool

Extended with: OMGF::Regurgitator
Pages Classes Methods