On Wed, May 26, 2010 at 01:36, Mikeal Rogers <mikeal.rog...@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