Patch: CPU efficiency, UDP support, and other changes

Steven Grimm sgrimm at facebook.com
Thu May 4 22:17:25 UTC 2006


Cahill, Earl wrote:
> Now if you could just add some real namespace support . . . .  Wouldn't
> facebook be interested in such a thing?
>   
Depends on what you mean by namespace support. We partition our keys to 
different sets of servers based on prefixes (all the keys that start 
with "xyz" go to one pool of servers and all the "abc" keys go to a 
different pool) but that's purely a client-side change. The memcached 
servers have no idea what keys they're going to be asked to deal with. 
The motivation for partitioning the key space was mostly to cut down on 
network traffic for multi-key "get" requests, though it has other 
benefits as well.

What did you have in mind that would require server support?

-Steve


More information about the memcached mailing list