I'm still in the experimentation stage so perhaps forgive this hypothetical
question/idea. I am planning to load balance by putting haproxy in front of
the cassandra cluster. First of all, is that a bad idea?
Secondly, if I have high enough replication and # of nodes, is it possible
and a good
haproxy should be fine.
normal GCs aren't a problem, you don't need to worry about that. what
is a problem is when you shove more requests into cassandra than it
can handle, so it tries to GC to get enough memory to handle that,
then you shove even more requests, so it GC's again, and it spirals
On Fri, Feb 19, 2010 at 7:40 PM, Santal Li santal...@gmail.com wrote:
I meet almost same thing as you. When I do some benchmarks write test, some
times one Cassandra will freeze and other node will consider it was shutdown
and up after 30+ second. I am using 5 node, each node 8G mem for java
interestingly, I ran the same load but this time with a random partitioner
and, although from time to time test2 was a little behind with its
compaction task, it did not crash and was able to eventually close the gaps
that were opened.
Does this make sense? Is there a reason why random partitioner