[zeromq-dev] ØMQ enhanced memcached?

Martin Sustrik sustrik at fastmq.com
Mon Jul 28 10:49:38 CEST 2008


Hi Steven,

> If the technologies employed in ØMQ are the fastest most reliable and 
> usable available today, is it possible to demonstrate this by making 
> memcached faster and more reliable?

I am not familiar with internal memcached architecture, however, I would 
suppose it works in a synchronous fashion, i.e. client asks for an 
object and waits for the object to be delivered. There's little 0MQ can 
do to optimise that - whatever you'll do the latency will always be 2x 
TCP latency (a roundtrip) and throughput will be 1 / (2x TCP latency).

What 0MQ is good for is high-performance asynchronous non-blocking 
messaging, i.e. the scenarios where messages are pipelined over the network.

However, if you have any idea how memcached can benefit from such a 
scenario, it should be easy to plug it in.

Martin






More information about the zeromq-dev mailing list