Skip to content
DPanth3r edited this page Jul 18, 2012 · 2 revisions

The goal of this fork (at the moment) is to implement a proper embedded cassandra backend for Titan.

Quick review

Pros

  • No Thrift connection : no network timeout (at least not from Thrift), no (de)serialisation overhead, no memory used for connection buffers ...
  • Bundle your components in a single JVM and avoid memory overhead (Java...)

Cons

  • Runs in the same JVM as your Cassandra
  • If you want to update your Titan codebase, you have to shut down a Cassandra node (which can be pretty slow for a production environment)
  • Needs more testing ! :) (Still, I'm using on a daily basis and it's quickly improving)

Usage / Misc

  • You have to start CassandraDaemon etc. outside Titan on your own (since embedded is usually for specific uses, I decided to make the driver dependent on a pre-started Cassandra instance, same JVM)

  • I have been using it with success to load and analyse medium-sized graphs (1.2M nodes / 15M edges)

Clone this wiki locally