Twemproxy is a high performance proxy for Memcache and Redis. It was created by Twitter and uses memory pools and chained buffers (mbuf) to avoid data copying, allowing requests and responses to be forwarded very efficiently. It has separate receive and send loops for clients and servers that use these techniques to maximize throughput.