cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Menegatti <gabr...@s1mbi0se.com.br>
Subject Re: Any problem mounting a keyspace directory in ram memory?
Date Mon, 02 Feb 2015 12:18:37 GMT
Hi Jan,

Thanks for your reply, but C* in-memory just supports 1 GB keyspaces at the moment, what is
not enough for us.

My question is more related to the technical side of mounting the keyspace data folder to
the ram memory than checking if Cassandra has some in-memory feature.

My intention is to understand if mounting a keyspace data directory to RAM could cause any
technical problems... On our point of it shouldn't, as we are just "moving" the directory
to be stored on RAM instead of in spinning disks.

Thanks so much.



> Em 02/02/2015, às 02:31, Jan <cnet62@yahoo.com> escreveu:
> 
> HI Gabriel; 
> 
> I don't think Apache Cassandra supports in-memory keyspaces. 
> However Datastax Enterprise does support it. 
> 
> Quoting from Datastax: 
> DataStax Enterprise includes the in-memory option for storing data to and accessing data
from memory exclusively. No disk I/O occurs. Consider using the in-memory option for storing
a modest amount of data, mostly composed of overwrites, such as an application for mirroring
stock exchange data. Only the prices fluctuate greatly while the keys for the data remain
relatively constant. Generally, the table you design for use in-memory should have the following
characteristics:
> Store a small amount of data
> Experience a workload that is mostly overwrites
> Be heavily trafficked
> Using the in-memory option | DataStax Enterprise 4.0 Documentation
>  
>  
>  
>  
>  
>  
> Using the in-memory option | DataStax Enterprise 4.0 Documentation
> Using the in-memory option
> View on www.datastax.com
> Preview by Yahoo
>  
>  
> 
> hope this helps
> Jan
> 
> C* Architect
> 
> 
> 
> On Sunday, February 1, 2015 1:32 PM, Gabriel Menegatti <gabriel@s1mbi0se.com.br>
wrote:
> 
> 
> Hi guys,
> 
> Please, does anyone here already mounted a specific keyspace directory to ram memory
using tmpfs?
> 
> Do you see any problem doing so, except by the fact that the data can be lost?
> 
> Thanks in advance.
> 
> Regards,
> Gabriel.
> 
> 

Mime
View raw message