about summary refs log tree commit
path: root/lib/metropolis.rb
DateCommit message (Collapse)
2011-01-17use constants everywhere to reduce GC thrashing
This makes it easier to notice a typo, too.
2011-01-13add suffix_mime output filter
It's faster than doing it via real Rack middleware.
2010-12-13minor documentation updates
This needs a LOT of work.
2010-12-10String#hash is not stable across processes :<
We need to implement our own hash functions for splitting databases across multiple files. This was totally fucking up Rainbows!
2010-12-06allow easier, single-file options for TC and TDB
Most (other) users only need a single file, even though my primary use of this is for multiple files.
2010-12-05:path_pattern is independent of the URI
It can be confusing with printf-style patterns in URIs, so just force path_pattern-users to specify "/" as their path.
2010-12-01add basic support for the Trivial Database (TDB)
TDB supports multiple simultaneous readers and writer *processes*, not just threads.
2010-11-30support pass-through :encoding for deflate and gzip
These allow serving pre-compressed data off disk and on-the-fly uncompressing for the few clients that do not accept compressed responses.
2010-11-23add plain Hash database support
Useful as a proof-of-concept and for benchmark base.
2010-11-23use common setup elements
Some other databases will be able to utilize these variables.
2010-11-23split out common read/write code
It will be useful when we support other backends.
2010-11-23rename internal "TokyoCabinet" => "TC"
It's less typing and less likely to clash on both the eyes and the interpreter.
2010-11-22initial TokyoCabinet hash database support
Basically working, for now