Using the Neo4J Graph Database to Build a High Performance Social Network

Emil Eifrem (Neo Technology / Neo4j)
Location: D135
Please note: to attend, your registration must include Tutorials.
Average rating: ***..
(3.77, 22 ratings)

This workshop will show you how to build a high-performance backend for a social network based on the open source Neo4j graph database. A graph database uses nodes, relationships between nodes and key-value properties instead of tables to represent information. This data model is ideal for storing social network data and can frequently outperform a relational database by a factor of 1000x or more.

We will over the course of this workshop give you a real-world introduction to how you can write a web 2.0 app on top of the transactional, disk-based and highly scalable Neo4j open source graph database. We will investigate the implementation of a small but working social network backend, with simple but powerful APIs to find paths between people, identify friends in different levels and to analyze the social graph for suggested new friends. This will be done using simple code examples and the full implementation will be available as open source after the workshop.

What you will get from this workshop:

  • A practical introduction to graph databases.
  • A code-oriented example of how to implement a social network backend on top of a graph database.
  • Benchmarks of graph databases vs RDBMS for social network data.
Photo of Emil Eifrem

Emil Eifrem

Neo Technology / Neo4j

Founder of the Neo4j graph database project and CEO of Neo Technology. Programmer by passion the first 15 years on this planet and by profession the remaining 15. First free software project at age 16. Now mainly focused on spreading the word about the powers of graphs and preaching the demise of tabular solutions everywhere.

Comments on this page are now closed.


Mike Gerwitz
07/26/2010 12:58am PDT

A very hands-on introduction to Neo4J. Code examples were in Java, which they decided on in the hopes that the majority of developers there would be able to read and work with the code (which I think was a good choice). Network problems delayed the actual coding exercises, but they were helpful in resolving the issue – walking around with USB sticks and aiding everyone in the process. The tutorial itself consisted primarily of independent coding (unless you worked with others near you), but they were more than happy to give assistance to anyone who needed it.

Overall I thought it was a pretty good session. If time permitted, it would have been nice to go over each of the steps together near the end in order to ensure everyone was on the same page, share the proper solutions, etc.

Picture of Rabble Evan Henshaw-Plath
Rabble Evan Henshaw-Plath
07/20/2010 2:26am PDT

There were a bunch of network issues, would have been nice to have a couple dozen usb sticks with code on it. Other than that, it was pretty interactive, tutorial steps, hands on. Java centric, which isn’t needed for neo4j, but makes sense given it’s java roots.

St├ęphane Jolicoeur
07/19/2010 3:34pm PDT

Good intro learned a lot but the network problems were a bit of a downer to get started

  • Intel
  • Microsoft
  • Google
  • Facebook
  • Rackspace Hosting
  • (mt) Media Temple, Inc.
  • ActiveState
  • CommonPlaces
  • DB Relay
  • FireHost
  • GoDaddy
  • HP
  • HTSQL by Prometheus Research
  • Impetus Technologies Inc.
  • Infobright, Inc
  • JasperSoft
  • Kaltura
  • Marvell
  • Mashery
  • NorthScale, Inc.
  • Open Invention Network
  • OpSource
  • Oracle
  • Parallels
  • PayPal
  • Percona
  • Qualcomm Innovation Center, Inc.
  • Rhomobile
  • Schooner Information Technology
  • Silicon Mechanics
  • SourceGear
  • Symbian
  • VoltDB
  • WSO2
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@

Press and Media

For media-related inquiries, contact Maureen Jennings at

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)

OSCON 2.0 Ideas

Have an idea for OSCON to share?

Contact Us

View a complete list of OSCON contacts