Brandon: Regretably, I'm cheating and am using the Dalli gem without the
guidance of Heroku. :-( I couldn't get memcached-northscale to compile on my
Mac. Whatever.

In any case:

>> Rails.cache.write "foo", "bar"
=> true
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"
>> Rails.cache.read "foo"
=> "bar"


On Mon, Oct 4, 2010 at 3:53 PM, Brandon Casci <[email protected]>wrote:

> Yep :)
>
>
> On Mon, Oct 4, 2010 at 4:48 PM, Teng Siong Ong <[email protected]>wrote:
>
>> are you sure that you are using the supported memcache gem?
>> http://docs.heroku.com/memcache
>>
>> On Mon, Oct 4, 2010 at 3:43 PM, Brandon Casci <[email protected]>wrote:
>>
>>> It's crazy making.
>>>
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => 1
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => 1
>>> >> Rails.cache.read "mykey"
>>> => nil
>>> >> Rails.cache.read "mykey"
>>> => nil
>>>
>>>
>>> On Sat, Oct 2, 2010 at 7:58 PM, Brandon Casci <[email protected]>wrote:
>>>
>>>> Hello
>>>>
>>>> I'm new to Heroku, so I'm not sure if this is a problem, or normal
>>>> behavior.
>>>>
>>>> I'm seeing a inconsistent memcache reads. Reading a key will sometimes
>>>> alternate between nil and the value placed in memcache. Other times the
>>>> value just seems to vanish, though that could be a sign that memcache is
>>>> full, though I can't find a way to tell if it's full.
>>>>
>>>> What do es everyone think might be happening?
>>>>
>>>>
>>>>
>>>> --
>>>> =========================================
>>>> Brandon Casci
>>>> Loudcaster
>>>> http://loudcaster.com
>>>> =========================================
>>>>
>>>
>>>
>>>
>>> --
>>> =========================================
>>> Brandon Casci
>>> Loudcaster
>>> http://loudcaster.com
>>> =========================================
>>>
>>> --
>>> 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]<heroku%[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]<heroku%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en.
>>
>
>
>
> --
> =========================================
> Brandon Casci
> Loudcaster
> http://loudcaster.com
> =========================================
>
> --
> 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]<heroku%[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