Pacer

Pacer is graph traversal library, written in JRuby.

  • Enables very expressive graph traversals.
  • Supports all of the major graph databases, including OrientDB, Neo4j and Dex, thanks to the Tinkerpop graphdb stack.
  • Comes with a very convenient in-memory graph called TinkerGraph.
  • Traverses the graphs using very fast and memory efficient stream processing.
  • All processing is done in pure Java, so when it comes the usual Ruby expressiveness vs. speed problem, you can have your cake and eat it too. It's very fast!

Powerful

Anything you can do with any other graph query framework can also be done with Pacer. In addition, Pacer's flexibility means that if you want to use features from other libraries, they are easy to fold into Pacer's super simple modular structure. For instance, Neo4j includes some handy graph algorithms which you can see here: https://github.com/xnlogic/pacer-neo4j/blob/master/lib/pacer-neo4j/algo.rb Most of the time you won't need those but they're there in a pinch!

Fast

Pacer runs on JRuby, generally the fastest Ruby. In addition, most graph traversal logic runs in pure Java internally, only spitting out your results in the form of nice Ruby objects. That means that when you're trying to get shit done pronto, Pacer's on your side.


"Defining graph traversals using various query languages or traversal APIs is not easy. When I first started out playing with Neo4j and other graph DBs, I could see the insane power but there was a huge disconnect between what I wanted to do and what the existing tools forced me to do. I wanted to think about my queries as moving through the graph, not as an abstract pattern or as a system of gathering and pruning!

Fortunately I wasn't the only one feeling the pain. Together with the smart guys at Tinkerpop, I've built Pacer. Pacer is 100% focused on doing things the Ruby way, which means it's easy to use and does what you expect.

Pacer is designed to be friendly to play with in IRB (or any other terminal). Its commands are concise and its output is designed for humans. I highly recommend getting to know Pacer by playing with it in the console!"

Supported by xnlogic

Pacer is sponsored by xnlogic, who built their graph database application framework using Pacer technology.

If you think a graph database is appropriate for your problem space, the team at xnlogic can provide you the help you need. The XN framework has extremely powerful data modeling capabilities, tight security and allows you to deliver an incredible domain-specific API to your data with ease.

Pacer also has a mailing list where you can go for community support to get you past whatever problems you encounter.

Finally, there are great meetup groups like GraphTO in Toronto which meets periodically, and conferences like GraphConnect, held in San Francisco and other American cities.