Alternative Binary Protocol idea for memcached.
Dustin Sallings
dustin at spy.net
Thu Feb 21 03:15:53 UTC 2008
On Feb 20, 2008, at 18:42, Clint Webb wrote:
> Would anyone object if I first started working on abstracting the
> protocol handling routines so that they are handled by callback
> instead of the current if/else setup?
>
> Then I was going to put all the protocol stuff in prot_ascii.h|c and
> prot_binary.h|c respectively.
>
> This way we could potentially have hundreds of protocols handled
> without having a lengthy if/else comparison.
If you're going to do this, please try to do it off the binary
branch. It's where the abstractions have started and I'd like to keep
the merges a bit easier.
--
Dustin Sallings
More information about the memcached
mailing list