Skip to content

When To Use GraphIt

jon-ivmark edited this page Jul 15, 2012 · 9 revisions

It's probably easier to start off by describing when NOT to use GraphIt. In short, GraphIt should not be used when you value the data you put into it. GraphIt does not persist updates to disk, it is not transactional, and updates are neither isolated nor atomic. If you need this stuff, and in most cases you probably do, use a proper graph database, like Neo4j for instance.

That being said, there are use cases where GraphIt might come in handy. It was originally created to be used in a recommendation engine, storing weighted item to item relations (edges) representing recommended items for an item. The graph is computed from a number of master data sets (transaction history etc), which means it can be recreated if it were to be lost or corrupted. For this use case low latency and high throughput is more important than durablity and consistency, and GraphIt is likely to be a good choice.

Clone this wiki locally