memcached

Anyone using Memcached with ASP.NET on a distributed farm?

We have 22 HTTP servers each running their own individual ASP.NET Caches. They read from a read only DB that is only updated off peak hours. We use a file dependency to invalidate the cache, prompting the servers to "new up" their caches...If this is accidentally done during peak hours, it risks bringing down our DB cluster due to the s...

Does memcached have a mechanism to redistribute its cache?

Problem: I have a server farm which uses non-sticky IP's and a Session Server to maintain sessions for all the servers. So it doesn't matter which server a client comes back to because the server will always go to the Session Server to get that client's session data. When I take the Session Server down all the servers lose their session ...

Platforms for running memcached

Is there any reason in particular why it's recommended to run memcached on a Linux server? Is it really that bad an idea to run it on a Windows Server box? What about an OS X Server box? The biggest reason that I read is about TCO. In other words, for each windows box that we run memcached on, we have to buy a copy of Windows Server ...

memcached caches request?

Hi there, after caching several views on my django project -@cache_page(60 * 5)- I've noticed that memcached caches the entire view, even the request argument! So if the first user that visits a page is logged in as userxyz, all other anonymous or registered users that will ask the same page will be presented with the page that was cach...

Why am I getting this Cache-money error?

I followed the instructions found on the github page exactly. I would post some of my configuration but it matches what's found here on http://github.com/nkallen/cache-money/tree/master The error reads as follows: /!\ FAILSAFE /!\ Thu Mar 05 16:45:09 -0500 2009 Status: 500 Internal Server Error undefined method `indices' for nil:...

Memcache-based message queue for App Engine?

I'm working on a multiplayer game on App Engine and it needs a message queue (i.e., messages in, messages out, no duplicates or deleted messages assuming there are no unexpected cache evictions). Here are the memcache-based queues I'm aware of: MemcacheQ: http://memcachedb.org/memcacheq/ Starling: http://rubyforge.org/projects/starling...

Dump memcache keys from GAE SDK Console?

In the "Memcache Viewer", is there any way to dump a list of existing keys? Just for debugging, of course, not for use in any scripts! I ask because it doesn't seem like the GAE SDK is using a "real" memcache server, so I'm guessing it's emulated in Python (for simplicity, as it's just a development server).. This would mean there is a ...

How do you know if memcached is doing anything?

I'm testing out using memcached to cache django views. How can I tell if memcached is actually caching anything from the Linux command line? ...

MemCacheError: execution expired

I'm using the awesome cache-money gem with a large rails project. I frequently get these exceptions MemCache::MemCacheError: execution expired" There doesn't seem to be a rhyme nor reason. What exactly does this mean, and how to fix? EDIT: Here is a representative stack trace: lib/authenticated_system.rb:100:in `login_from_...

(PHP)choose memcache::connect or memcache::pconnect?

Hi, I'm using php::memcache module to connect a local memcached server (@127.0.0.1), but I don't know that which one I should use, memcache::connect() or memcache::pconnect ? Does memcache::pconnect will consume many resource of the server? Thank you very much for your answer! ...

How can I clear memcache using capistrano?

I use capistrano to deploy my app to a machine that uses memcache. I want capistrano to clear memcache when it deploys a new version of the site. ...

Can I install the memcached PHP extension with PECL?

I'm having trouble installing the "memcached" PHP extension from PECL, though I can successfully installed the "memcache" extension. (They are separate PHP extensions.) For example, these commands work okay: $ sudo pecl install memcache $ sudo pecl install APC $ sudo pecl install oauth However, attempting to install memcache...

Configuration Issue with rails gem nkallen-cache-money (0.2.5): Get RecordNotFound exception on find method

I installed nkallen's cache-money gem per the github readme. I run into RecordNotFound exceptions during my tests. If I comment out the contents of config/initializers/cache-money.rb, the tests run fine. My cache-money.rb file is identical to that on the github instructions. Here is the contents of my config/memcached.yml: development:...

Which .NET Memcached client do you use, EnyimMemcached vs. BeITMemcached?

Seems like both EnyimMemcached (http://enyimmemcached.codeplex.com/) and BeITMemcached (http://code.google.com/p/beitmemcached/) are popular .NET Memcached libraries. Both are reasonably active projects under development and have over a thousand downloads. Trying to figure out which one to use but found competing remarks! I did read ano...

Caching strategies with Memcached?

I'm new to using distributed caching solutions like Memcached on a large web site, I have a couple questions and could someone who has experience on these comment please. Obviously the amount of data I can put into cache depends on server RAM. Supposed I have big enough server farm and RAM, is there a max number of objects I can put i...

Caching solutions for multi-webserver configuration?

I am looking into caching solutions, for a multi webserver configuration. Thought of memcached as being cheap (free) and proven over the years. Microsoft is also developing a caching solution for webfarms, called Velocity, but this is still in CTP2. ...

What are some of the more interesting ways you have used memcached?

After implementing a memcached caching layer into my schema tools I'm wondering if there is more capability to use memcached services other than the canonical: rec = cache.get(make_cache_key(k)) if rec: return rec rec = dbi.execute(query_string(k)) cache.set(make_cache_key(k), rec) return rec usage of row caching? Anything like JSON/...

memcache gzipped content with php ob_gzhandler

I recently implemented gzipping of my content with php's ob_gzhandler function which keeps things really simple. I'm now trying to add this content to my memcache, and was hoping there was a simple way to do that as well, but I haven't been able to find anything online about accomplishing this. I've only used memcache in the past to ...

Removing specific items from Django's cache?

I'm using site wide caching with memcached as the backend. I would like to invalidate pages in the cache when the underlying database object changes. If the page name changes then I would invalidate the whole cache (as it affects navigation on every page. Clumsy but sufficient for my needs. If just the page content changes then I'd li...

Java Memcached Client

Which is the best Java memcached client, and why? ...