そろそろ Cassandra で具体的なアプリケーションを作ってみたくなったので、簡単な掲示板を作成してみました。 作成環境は以下のようになります。 ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32] Rails 2.3.5 データモデル まずはアプリケーションから使うデータモデルを設計します。 storage-conf.xml に Keyspace を以下のように定義しました。 storage-conf.xml <Keyspace Name="Examples"> <ColumnFamily Name="Entries" CompareWith="BytesType"/> <ColumnFamily Name="Boards" CompareWith="LongType"/> <ReplicaPlacementStrategy>or
![Cassandra と Ruby で簡易掲示板を作ってみる - akishin999の日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/cf0f716751714796e773742318ba00987edbab58/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fa%2Fakishin999%2F20100516%2F20100516034135.jpg)