Re: [rails-oceania] Memcache key and value?

2011-08-27 Thread Denny
Thanks, your guys. Why I need these keys in development? I maintained the code from other, and not sure which cache is used now, so I need the cache key list, and check it in code, or maybe I can remove some cache code. @Ben, I will check your amnesia, thanks! @Nathan, thanks! -- Denny Se

Re: [rails-oceania] Memcache key and value?

2011-08-23 Thread Ben Schwarz
I wrote amnesia (a memcached web stat page) a while ago, not really what you're looking for, but I'm sure it could be extended pretty easily. http://github.com/benschwarz/amnesia -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To view

Re: [rails-oceania] Memcache key and value?

2011-08-22 Thread Martin Stannard
Hey guys, For high level stats I only just found out about memcached-tool localhost stats and have found it very useful for getting an overview of cache usage. regards, Martin On 23 August 2011 09:40, Matt Allen wrote: > Hey Denny and Nath; > > The other thing you'd do in dev mode, is to run

Re: [rails-oceania] Memcache key and value?

2011-08-22 Thread Matt Allen
Hey Denny and Nath; The other thing you'd do in dev mode, is to run it in non-daemon mode with -v and it'll spit out all the logging. That'll include hits, misses and keys. Matta On 22/08/2011, at 11:08 PM, Nathan de Vries wrote: > While Matt is correct that memcached should be treated as a b

Re: [rails-oceania] Memcache key and value?

2011-08-22 Thread Nathan de Vries
While Matt is correct that memcached should be treated as a black box, it's actually quite feasible (and reasonable!) to want to look at what it's storing. You'll often need this during development, but also on occasion when a live server is running amok. There's a couple of tools you'll want

Re: [rails-oceania] Memcache key and value?

2011-08-22 Thread Matt Allen
Hi Denny; You can't. Generally you'll be using some sort of known, reproducible composite key to retrieve the data you need. An example of this that i've used in the past for some fragment caching is a combination of model class name + id or controller name + model + id. Hope that helps, Matta

[rails-oceania] Memcache key and value?

2011-08-22 Thread Denny
Hi, all As we all know, we can use cache in our application. Here is question: How can I get all the key and value in memcache database? 1. in console, do we have a method to list all? 2. can we directly visit memcache database for this? -- Denny Sent with Sparrow (http://www.sparrowmailapp.