couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: Universal Binary JSON in CouchDB
Date Tue, 04 Oct 2011 23:34:05 GMT
On Tue, Oct 4, 2011 at 3:08 PM, Benoit Chesneau <> wrote:
> On Tue, Oct 4, 2011 at 9:33 PM, Paul Davis <> wrote:
>> For a first step I'd prefer to see a patch that makes the HTTP
>> responses choose a content type based on accept headers. Once we see
>> what that looks like and how/if it changes performance then *maybe* we
>> can start talking about on disk formats. Changing how we store things
>> on disk is a fairly high impact change that we'll need to consider
>> carefully.
> +1
>> That said, the ubjson spec is starting to look reasonable and capable
>> to be an alternative content-type produced by CouchDB. If someone were
>> to write a patch I'd review it quite enthusiastically.
> I think I would prefer to use protobuffs format though. Anyway if wwe
> change the api to handle all types that would be pluggable without
> problem.
> - benoƮt

I think you nailed it Benoit. First step, see if we can remove the
JSON specific stuff (we build JSON strings by hand in some places)
with an eye on keeping it generic. Then we can start thinking about
how to make it reasonable for pluggin any type of encoder/decoder

View raw message