Have you tried either Rails.cache.stats or new relic? I personally prefer new 
relic as I can see where the cache is actually making a difference.

Steve


On 27 Dec 2010, at 21:48, Carson Gross wrote:

> To the top: is there a way to find out how well our dalli-based
> memcache is working?
> 
> Thanks,
> Carson
> 
> On Dec 21, 10:09 pm, Carson  Gross <[email protected]> wrote:
>> To the top:  any good way to look at the utilization and  of our dalli
>> memcache clien?  The code in the heroku docs doesn't work with it, and
>> I'd like to know if the cache is working and, assuming so, how well it
>> is working, and if it would be worth it to buy more memcache...
>> 
>> Thanks,
>> Carson
>> 
>> On Dec 20, 11:15 pm, Carson  Gross <[email protected]> wrote:
>> 
>> 
>> 
>>> Thanks guys.  I *think* we've got things installed correctly now.
>> 
>>> Is there an easy way to see the stats for our memcache?  I tried what
>>> the docs say, and got this:
>> 
>>>>> mc = Memcached.new
>> 
>>> NameError: uninitialized constant Memcached
>>>         /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
>>> active_support/dependencies.rb:443:in `load_missing_constant'
>>>         /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
>>> active_support/dependencies.rb:80:in
>>> `const_missing_not_from_s3_library'
>>>         /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/
>>> extensions.rb:206:in `const_missing'
>>>         /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
>>> active_support/dependencies.rb:92:in `const_missing'
>> 
>>> Is there some web UI somewhere I can see?
>> 
>>> Thanks again for everyones help,
>>> Carson
>> 
>>> On Dec 20, 11:12 am, chris <[email protected]> wrote:
>> 
>>>> FYI, dalli will detect that ENV variable automatically -- you shouldn't 
>>>> need
>>>> to specify the server(s) at all. Here's our dalli configuration (rails3 
>>>> app,
>>>> yours may vary):
>> 
>>>>       config.cache_store = :dalli_store, { :namespace => 'll', :expires_in
>>>> => 30.minutes, :compress => true, :compress_threshold => 64*1024 }
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to