Facebook Graph Theory(itechtalks.blogspot.com)
itechtalks.blogspot.com
Facebook Graph Theory
http://itechtalks.blogspot.com/2011/09/graph-theory-facebook.html
2 comments
This blog post seems to be copied from http://20bits.com/articles/graph-theory-part-iii-facebook/ without any attribution.
It was also posted on yc only two weeks ago (see http://news.ycombinator.com/item?id=2912073 for commentary).
It was also posted on yc only two weeks ago (see http://news.ycombinator.com/item?id=2912073 for commentary).
When a user signs in with Facebook or Twitter, you can load their friends and followers into a graph database such as Neo4j and then use Gremlin to run these type of social-graph algorithms.
Graph DBs are fast in general because there is no external index lookup during traversals (the index containing adjacent nodes are located within the node). Pair that with local-rank (http://markorodriguez.com/2011/03/30/global-vs-local-graph-r...), and you can do real-time ranking and analysis.