cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohit bhatia <rohit2...@gmail.com>
Subject Re: Memory Usage of a connection
Date Fri, 31 Aug 2012 06:34:22 GMT
On Fri, Aug 31, 2012 at 11:27 AM, Peter Schuller <
peter.schuller@infidyne.com> wrote:

> > Could these 500 connections/second cause (on average) 2600Mb memory usage
> > per 2 second ~ 1300Mb/second.
> > or For 1 connection around 2-3Mb.
>
> In terms of garbage generated it's much less about number of
> connections as it is about what you're doing with them. Are you for
> example requesting large amounts of data? Large or many columns (or
> both), etc. Essentially all "working" data that your request touches
> is allocated on the heap and contributes to allocation rate and ParNew
> frequency.
>
>
"write requests are simple counter increments" and in memtables existing in
memory.
There is negligible read traffic (100/200 reads/second).
Also, increasing write traffic si the one that increases gc frequency while
keeping read traffic constant.
So the gc should be independent of reads.


> --
> / Peter Schuller (@scode, http://worldmodscode.wordpress.com)
>

Mime
View raw message