Monday 24 June 2013

Constructors for C Structures

So, if you're not Chuck... consider using structures
in your C code.


Cassandra configuration

Chuck Norris can optimize Cassandra without
reading any instructions!
 In this post we'll go through Cassandra's architecture trying to explain how exactly data is stored (in memory and filesystem). It is important to have an overview of the overall workflow in order to identify critical points, optimize its performance and avoid OutOfMemoryErrors. According to the Cassandra Wiki 4GB is the bare minimum for running Cassandra and I can verify that it is necessary to have 4GB even for testing. For production it is recommendable to use minimum 8GB of RAM while some people report that 12GB is OK. In all cases, one should heed to fine tune Cassandra to avoid nasty surprises...