leverich / mutilate

Mutilate: high-performance memcached load generator
BSD 3-Clause "New" or "Revised" License
126 stars 69 forks source link

Seperate out protocol handling from connection. #6

Closed dterei closed 9 years ago

dterei commented 10 years ago

This cleans up Connection a lot, adding in a new class (Protocol) that handles the underlying ASCII or Binary protocol. This is cleaner but also allows adapting mutilate to new protocols easily.

(I did this as I needed to do exactly that and am currently using mutilate for testing performance of a paxos implementation).