Date | Commit message (Collapse) |
|
We won't be supporting thread-safety, too difficult without
upstream support.
|
|
This makes it easier to notice a typo, too.
|
|
GC reductions
|
|
It's faster than doing it via real Rack middleware.
|
|
This needs a LOT of work.
|
|
We need to implement our own hash functions for splitting
databases across multiple files. This was totally fucking up
Rainbows!
|
|
String interpolation means an extra string is created.
|
|
Maybe it's still broken...
|
|
Most (other) users only need a single file, even though
my primary use of this is for multiple files.
|
|
It can be confusing with printf-style patterns in URIs,
so just force path_pattern-users to specify "/" as their
path.
|
|
Clients may pre-compress input so we do not have to deal
with it on the server side.
|
|
TDB supports multiple simultaneous readers and writer
*processes*, not just threads.
|
|
These allow serving pre-compressed data off disk and
on-the-fly uncompressing for the few clients that do
not accept compressed responses.
|
|
These have no finalizers.
|
|
It makes future extensions difficult. HEAD requests
aren't common enough to be worth optimizing for.
|
|
We'll need it for implementing the deflater/inflater
|
|
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.
|
|
Useful as a proof-of-concept and for benchmark base.
|
|
It makes sense for other databases to share the same code.
|
|
Some other databases will be able to utilize these
variables.
|
|
use 403 to reject PUT/DELETE requests
|
|
This fixes 404s on HEAD requests which do not return a body.
|
|
No point in using more lines than we need to.
|
|
It will be useful when we support other backends.
|
|
It's less typing and less likely to clash on both
the eyes and the interpreter.
|
|
This will allow easier code sharing between backends.
|
|
Basically working, for now
|