couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirkjan Ochtman <dirk...@ochtman.nl>
Subject Re: view server line protocol changes for _list
Date Wed, 26 May 2010 06:24:23 GMT
On Wed, May 26, 2010 at 01:36, Mikeal Rogers <mikeal.rogers@gmail.com> wrote:
> I'd like to propose the following changes to the view server protocol
> for list functions.
>
>>>> ["lists", "name"]
> <<< ["getRow"]
>>>> ["list_row", {"key":"k","value":"v"}]
> <<< ["getRow"]
>>>> ["list_row", {"key":"k","value":"v"}]
> <<< ["start", "chunk", {"headers":{}, "code":200}]
> <<< ["send", "chunk"]
> <<< ["send", "chunk"]
> <<< ["getRow"]
>>>> ["list_row", {"key":"k","value":"v"}]
> <<< ["getRow"]
>>>> ["list_end"]
> <<< ["end", "tail chunk"]
>
> The big change is that there is no longer a strict request/response.
> The erlang side stays idle accepting chunks to send until it gets a
> ["getRow"] call.

Hopefully it will be called get_row rather than getRow, if we already
have list_row?

Cheers,

Dirkjan

Mime
View raw message