Wednesday, September 3, 2014

Getting Started with Titan Graph, Gremlin-Scala, and Play!

Hello Graph


So, I've been trying out different graph databases for my next project. I really like the way that they organize things, it seems to match my thinking quite a bit. I wanted to stay open source so I skipped neo4j, due to its licensing. I first tried OrientDB, which was nice, but then I came across Titan, a distributed graph db. Titan is built on top of your choice of HDFS, you can use BerkelyDB, Cassandra, or HBase. Berkeley is more for small-medium graphs, but it performs much faster because it is local. Whereas, Cassandra and Hbase can be distributed across a cluster and hold massive graphs. For my use case I went with Berkeley, because it's fast and I don't think I'll approach its ceiling with my next app.

Monday, August 11, 2014

Hacking Niagara AX with Scala!

Integration can be a pain

 If you are in the automation world, you know how frustrating it can be to integrate to old systems. Last week I was given the project of cutting over an ALX system in a 10 story building. After exposing all of the points on the ALX system by hand, I had enough. I had recently discovered that all of Niagara's folders could be viewed as XML. This is super handy for making easy transformations like find "x" and replace with "y". Any basic text editor has this capability. However, I needed more power. In order to automate my task I needed complex transformations. The kind you need to write an algorithm for.