Friday, December 9, 2011

Running my first Cassandra cluster

I like the idea to scale horizontally, and noSql has some db:s that helps with the concept of partitioning data... So here is my first cluster, up n running. For the shaped eyed person you can see that all nodes are on the same host i.e. 127.0.0.x, but to my defense it's only a lab..

/**
  Address         DC          Rack        Status State   Load            Owns    Token
                                                                               163797825623819365665351379564473550862
127.0.0.2       datacenter1 rack1       Up     Normal  11.29 KB        50.00%  78727233893584749799507727706531497998
127.0.0.4       datacenter1 rack1       Up     Normal  15.73 KB        12.50%  99994881826143403765968640671017011214
127.0.0.5       datacenter1 rack1       Up     Normal  11.29 KB        12.50%  121262529758702057732429553635502524430
127.0.0.3       datacenter1 rack1       Up     Normal  11.33 KB        12.50%  142530177691260711698890466599988037646
127.0.0.1       datacenter1 rack1       Up     Normal  15.7 KB         12.50%  163797825623819365665351379564473550862

Saturday, December 3, 2011

Simple Made Easy


I saw this presentation a month ago... When you see something that won’t leave your mind for weeks, it's worth sharing. Rich Hickey talks about the idea that even thought a solution looks simple it is not always easy to accomplish, if you turn that around, things that seems like the easy way don't always turn out to become the simple solutions.


This will take one hour of your life, for some of you he may state the obvious, but sometimes it's nice to have words for that thoughts that you may have :
http://www.infoq.com/presentations/Simple-Made-Easy

Post discussion:
https://news.ycombinator.com/item?id=3135185