Cassandra Terminology : Cheat Sheet

2011-12-25 00:39:12 +0000

This document will be updated continuously until it is as complete as can be, please let me know what I can add to make it more useful for everyone, especially new Cassandra  users

Learning Scala : My first attempt at a command line progress bar

2011-12-20 22:59:36 +0000

While on my path to learning Scala, or rather improving my very lacking Scala knowledge I've written a progress bar for the command line... I'm pretty sure it is far more verbose than it needs to be, but until I know how to code less and do more, this is it: <!-- more -->

Cassandra Cheat Sheets

2011-12-13 23:28:22 +0000

I'll be getting some free time over the next few weeks and I intend to put together a series of Cassandra Cheat Sheets. I've been wanting to for a while but haven't gotten round to it, so the following list are the individual sheets which target specific things relating to Cassandra.

Cassandra Hector Wrapper - Hector Simplified

2011-11-11 22:31:44 +0000

This a simple wrapper I wrote for Hector.

Available at : https://github.com/zcourts/cassandra-hector-wrapper

Dynamically require/include a Javascript file into a page and be notified when its loaded

2011-10-06 08:46:15 +0100

This is a simple little JavaScript snippet I wrote the other day that basically includes an external javascript file in an HTML page head section.

Cassandra Query Language (CQL) v2.0 reference

2011-09-17 23:40:21 +0100

This is an update to my two previous posts: http://crlog.info/2011/03/29/cassandra-query-language-aka-cql-syntax/ AND http://crlog.info/2011/06/13/cassandra-query-language-cql-v1-0-0-updated/ If you're using versions of Cassandra prior v1.0 beta one of the above links may be more appropriate as little things may have changed here and there. The official doc is on Gitub in textile markup here https://github.com/apache/cassandra/blob/trunk/doc/cql/CQL.textile

Install and configure Varnish (3.0.1) cache with Wordpress

2011-09-10 12:30:34 +0100

A few days ago I promised I'd go through what  I did when setting up varnish with wordpress, its been slightly delay  but here goes. The blog I used it on was Script and Scroll. I've ran the Apache benchmark tool against the site, only one URL but made 1Million requests to it and it held up quite well. The requests were completed in about 5 minutes, I may post the results in a later entry...

Wordpress + Varnish Cache, A match made in heaven

2011-09-07 09:45:23 +0100

Recently my other blog, Script and Scroll, started to get a decent amount of traffic. One blog in particular linked back to a post someone published and it gained a lot of attention. Within a few hours of the link being created I started to get alerts from my monitoring system...Wordpress was slowing down, crapping out and running out of memory when serving pages. The load on my VPS hit the roof and Apache more or less came to a halt. After a quick round of investigating, scanning logs etc, I realized what was happening after seeing the referrer and looking at the page that had linked to us. Right, it was time to do something now that I knew what the problem was. Mind you, I had a caching plugin installed but it wasn't doing much good. After thinking of what my options were I decided to go with Varnish Cache.

Archimedean Spiral - "Plug a bit of maths in and 'magic' will happen!"

2011-08-24 09:15:14 +0100

After looking at a few options for placing stuff in an outward spiral I came across the Archimedean Spiral. I'm rendering my items on an HTML5 canvas so this is all being done in Javascript. After implementing it I started to play around with the values a bit and produced some very interesting effects. Below are two of my favorites...

Introduction to NOSQl and Apache Cassandra.

2011-08-21 13:13:52 +0100

A while back (April 2011) I wrote an article that I wanted to publish on Sitepoint but I guess they didn't like it because I haven't had a reply back. I was just randomly cleaning up my mail and found it in my sent messages folder.