about summary refs log tree commit
DateCommit message (Collapse)
2013-09-30Rakefile: kill raa_update task HEAD master
RAA is dead.
2011-01-17cleanup gemspec
Oops
2011-01-17metropolis 0.2.0 - suffix_mime, small optimizations v0.2.0
Eric Wong (10): GNUmakefile: no news yet... fix RAA listing fix LICENSE file switch to wrongdoc, no more JavaScript! COPYING is not an RDoc file README: mention TDB database add suffix_mime output filter tdb: use fetch with a reusable buffer use constants everywhere to reduce GC thrashing tdb: remove "threadsafe" option
2011-01-17tdb: remove "threadsafe" option
We won't be supporting thread-safety, too difficult without upstream support.
2011-01-17use constants everywhere to reduce GC thrashing
This makes it easier to notice a typo, too.
2011-01-17tdb: use fetch with a reusable buffer
GC reductions
2011-01-13add suffix_mime output filter
It's faster than doing it via real Rack middleware.
2011-01-13README: mention TDB database
It's actually my favorite at the moment...
2010-12-24COPYING is not an RDoc file
It is plain text and should never be edited, so making it RDoc would be wrong.
2010-12-24switch to wrongdoc, no more JavaScript!
bogomips.org will no longer be hosting JavaScript in RDoc
2010-12-15fix LICENSE file
This file was stolen from a not-yet-released project :x
2010-12-13fix RAA listing
We're NOT Ruby licensed, we're AGPLv3 damnit.
2010-12-13GNUmakefile: no news yet...
2010-12-13metropolis 0.1.0 - initial release v0.1.0
A key-value store for Rack. It emulates the basic REST functionality (PUT/GET/DELETE) of TokyoTyrant as a Rack handler. TDB is the primary DBM supported but TokyoCabinet (hash) is supported as well. For TDB, it is multi-process safe, but is currently not thread-safe due to limitations of the upstream TDB library.
2010-12-13minor documentation updates
This needs a LOT of work.
2010-12-10remove hard dependency on tokyocabinet
We cna use tdb now, which offers better concurrency with Rainbows! and Unicorn under MRI.
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-10deflate: small garbage reduction by concatenation
String interpolation means an extra string is created.
2010-12-10tdb: allow enabling the thread-safety option
Maybe it's still broken...
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-03deflate+gzip: do not wrap rack.input if already encoded
Clients may pre-compress input so we do not have to deal with it on the server side.
2010-12-02add SPEC document
We use a subset of Rack for simplicity.
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-30hash: fix some settings for memory-only hash
These have no finalizers.
2010-11-30tc/hdb: remove HEAD optimization
It makes future extensions difficult. HEAD requests aren't common enough to be worth optimizing for.
2010-11-30internal API: get and head methods require env
We'll need it for implementing the deflater/inflater
2010-11-23tc/hdb: add exclusive mode, lock disabling
The :exclusive mode behaves like TokyoTyrant and keeps the database opened in read-write mode, preventing other processes from accessing the database. This will be useful on Rubies without a GVL. :readonly no longer disables locking by default instead "rdlock=false" must be passed in the query parameter. Write locks may also be disabled with the "wrlock=false" query parameter.
2010-11-23add plain Hash database support
Useful as a proof-of-concept and for benchmark base.
2010-11-23split out common read-only code
It makes sense for other databases to share the same code.
2010-11-23use common setup elements
Some other databases will be able to utilize these variables.
2010-11-23fix readonly interface
use 403 to reject PUT/DELETE requests
2010-11-23test: disable expensive tests by default
We don't need then normally.
2010-11-23add generic Rack read/write test
This fixes 404s on HEAD requests which do not return a body.
2010-11-23tc/hdb: minor formatting cleanups
No point in using more lines than we need to.
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-23rename @hdb* to @db*
This will allow easier code sharing between backends.
2010-11-23test: minor cleanup to share @uri
We'll be using @uri in more tests
2010-11-22initial TokyoCabinet hash database support
Basically working, for now