[wp-hackers] Memcached backend for the Object Cache

Phillip Pearson pp at myelin.co.nz
Tue Dec 20 00:06:17 GMT 2005


John Joseph Bachir wrote:

> On Tue, 20 Dec 2005, Phillip Pearson wrote:
>
>> One problem - memcached has no security.  So if you give a bunch of 
>> users access to a single memcached instance, anyone will be able to 
>> overwrite anyone else's data.  Unless someone makes memcached 
>> multi-user-aware, it probably won't be useful to shared hosts running 
>> lots of WP installs.  (Still great for wordpress.com, WPMU etc, though.)
>
> I am no memcached expert, but I wonder if there is much overhead 
> involved in running a separate memcached dameon for each user? then 
> they could be divied up by port... or permissions could be handled via 
> dns and some other layer... food for thought.

That would be secure, but the problem is that this would require 
reserving a fixed amount of memory for each user, I think.  Ideally 
you'd want the most commonly accessed objects over the whole server 
being cached rather than the most comment objects for each particular user.

Cheers,
Phil


More information about the wp-hackers mailing list