You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Sávio Teles <sa...@lupa.inf.ufg.br> on 2013/09/02 21:05:18 UTC

Timeout Exception with row_cache enabled

I'm running the Cassandra 1.2.4 and when I enable the row_cache, the system
throws TImeoutExcpetion and Garbage Collection don't stop.

When I disable the query returns in 700ms.

*Configuration:

*

   - *row_cache_size_in_mb: 256*
   - *row_cache_save_period: 0*
   - *# row_cache_keys_to_save: 100*
   - *row_cache_provider: SerializingCacheProvider*

Why is this happening?


Thanks in advance!!
**

-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG

Re: Timeout Exception with row_cache enabled

Posted by Sávio Teles <sa...@lupa.inf.ufg.br>.
Is it related to https://issues.apache.org/jira/browse/CASSANDRA-4973? And
https://issues.apache.org/jira/browse/CASSANDRA-4785?


2013/9/2 Nate McCall <na...@thelastpickle.com>

> You experience is not uncommon. There was a recent thread on this with a
> variety of details on when to use row caching:
> http://www.mail-archive.com/user@cassandra.apache.org/msg31693.html
>
> tl;dr - it depends completely on use case. Small static rows work best.
>
>
>
> On Mon, Sep 2, 2013 at 2:05 PM, Sávio Teles <sa...@lupa.inf.ufg.br>wrote:
>
>> I'm running the Cassandra 1.2.4 and when I enable the row_cache, the
>> system throws TImeoutExcpetion and Garbage Collection don't stop.
>>
>> When I disable the query returns in 700ms.
>>
>> *Configuration:
>>
>> *
>>
>>    - *row_cache_size_in_mb: 256*
>>    - *row_cache_save_period: 0*
>>    - *# row_cache_keys_to_save: 100*
>>    - *row_cache_provider: SerializingCacheProvider*
>>
>> Why is this happening?
>>
>>
>> Thanks in advance!!
>> **
>>
>> --
>> Atenciosamente,
>> Sávio S. Teles de Oliveira
>> voice: +55 62 9136 6996
>> http://br.linkedin.com/in/savioteles
>>  Mestrando em Ciências da Computação - UFG
>> Arquiteto de Software
>> Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
>>
>
>


-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG

Re: Timeout Exception with row_cache enabled

Posted by Nate McCall <na...@thelastpickle.com>.
You experience is not uncommon. There was a recent thread on this with a
variety of details on when to use row caching:
http://www.mail-archive.com/user@cassandra.apache.org/msg31693.html

tl;dr - it depends completely on use case. Small static rows work best.



On Mon, Sep 2, 2013 at 2:05 PM, Sávio Teles <sa...@lupa.inf.ufg.br>wrote:

> I'm running the Cassandra 1.2.4 and when I enable the row_cache, the
> system throws TImeoutExcpetion and Garbage Collection don't stop.
>
> When I disable the query returns in 700ms.
>
> *Configuration:
>
> *
>
>    - *row_cache_size_in_mb: 256*
>    - *row_cache_save_period: 0*
>    - *# row_cache_keys_to_save: 100*
>    - *row_cache_provider: SerializingCacheProvider*
>
> Why is this happening?
>
>
> Thanks in advance!!
> **
>
> --
> Atenciosamente,
> Sávio S. Teles de Oliveira
> voice: +55 62 9136 6996
> http://br.linkedin.com/in/savioteles
>  Mestrando em Ciências da Computação - UFG
> Arquiteto de Software
> Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG
>