Amazed by neo4j, gwt and my apache tomcat webserver
From the post:
Besides reading papers I am currently implementing the infrastructure of my social news stream for the new metalcon version. For the very first time I was really using neo4j on a remote webserver in a real webapplication built on gwt. This combined the advantages of all these technologies and our new fast server! After seeing the results I am so excited I almost couldn’t sleep last night!
Setting
I selected a very small bipartit subgraph of metalcon which means just the fans and bands together with the fanship relation between them. This graph consists of 12’198 nodes (6’870 Bands and 5’328 Users). and 119’379 edges.
Results
- For every user I displayed all the favourite bands
- for each of those band I calculated similar bands (on the fly while page request!)
- this was done by breadth first search (depth 2) and counting nodes on the fly
A page load for a random user with 56 favourite bands ends up in a traversal of 555’372. Together with sending the result via GWT over the web this was done in about 0.9 seconds!
See the post to see how MySQL fared.
And yes, I thought about you, Mary Jane, when I saw this post!