My question is regarding memcached. Facebook uses memcached as a cache for their structured data to reduce the latency for their users. They have optimized performance of memcached with UDP on linux. http://www.facebook.com/note.php?note_id=39391378919

But interestingly they still use TCP for set operations but use UDP for get operation.

Why would they be doing so? I mean why not use UDP for set operation also? UDP scales better than TCP because of reduced states that need to be maintained in the operating system.

Thanks,

Edit
Report