PECL memcache extension
don at smugmug.com
Tue Feb 7 21:20:58 UTC 2006
Brian Moon wrote:
>> 2 - I have this working *today*. Again, it's not very difficult. The
>> only reason for the thread is to see if there's interest in extending
>> the PECL extension to support this sort of scenario. I happen to
>> think it's very useful - you get all of the speed of memcached with
>> next to no worry about stale reads, even in multi-server failure
>> scenarios. What's not to like?
> What I do not like is that while a node is out, my database is getting
> hit over and over when their is supposed to be a cache. We use
> memcached so that we don't repeat database requests over and over.
Yeah, that's an issue. When you've got, say, 50 memcache servers,
though, and one fails, you're only getting 1/50th of those queries
passed to the DB. So it's not (at least, for us) that big of a deal.
49/50 queries to memcache is still nice.
> Of course, if this is an option then no worries. I just won't turn it on.
Definitely should be an option. I'm not trying to suggest that our
needs are everyone's needs - but I'd be surprised if they weren't
*someone* else's needs. :)
More information about the memcached