building social graph utilities on heroku for chatter

13
Building Social Graph Utilities on Heroku for Chatter Canvas, neo4j, node.js Cory McIlroy, Appirio, CloudSpokes Architect @coryio

Upload: salesforce-developers

Post on 18-Nov-2014

343 views

Category:

Technology


1 download

DESCRIPTION

Join us as we enhance the Chatter experience by building Social Graph utilities on Heroku. Using the power of the neo4j graph database to generate a representation of the relationships between people in a large Chatter community, we can provide some cool features, such as a visualization of the graph, and a degrees of separation tool. Exposing this via Canvas will give the user a rich, enhanced, native Chatter experience. This is a good example of handling complex tasks on Heroku that cannot be easily handled on the salesforce.com platform.

TRANSCRIPT

Page 1: Building Social Graph Utilities on Heroku for Chatter

Building Social Graph Utilities on Heroku for ChatterCanvas, neo4j, node.js

Cory McIlroy, Appirio, CloudSpokes Architect@coryio

Page 2: Building Social Graph Utilities on Heroku for Chatter

AgendaThree things I want you to leave with

▪ See an end-to-end Canvas app hosted on Heroku▪ Learn a little about neo4j and the power of graph databases▪ See some cool social graph visualizations in action

Page 3: Building Social Graph Utilities on Heroku for Chatter

Why social graph utilities for chatter• Understanding how people are related (in large communities)

• Shortest path between two people (like Linked-in)• Visualizing a graph to spot “silos”

Page 4: Building Social Graph Utilities on Heroku for Chatter

Genesis/AcknowledgmentsHow this got started

▪ ACT, large social network application▪ DifferentSpokes (Michael Hunger)▪ William’s “Chatter Liasons” (groovy)

Page 5: Building Social Graph Utilities on Heroku for Chatter

A sample chatter graph

Page 6: Building Social Graph Utilities on Heroku for Chatter

Why Heroku/Canvas• Imagine the “shortest path” problem using SOQL…• Trivial with graph databases like neo4j

• Demo

• But we still want to see it “natively” in Salesforce.com

Page 7: Building Social Graph Utilities on Heroku for Chatter

Graph databases, a primer

A graph database stores data in a graph, the most generic of data structures, capable of elegantly representing any kind of data in a highly accessible way

Source: http://www.neo4j.org/learn/graphdatabase

Page 8: Building Social Graph Utilities on Heroku for Chatter

neo4j• Open Source graph database (supported by Neo Technology)• http://graphdatabases.com/• Heroku Add-on (free development tier)• Reliable, durable, scalable• Simple REST interface, or Java API

Page 9: Building Social Graph Utilities on Heroku for Chatter
Page 10: Building Social Graph Utilities on Heroku for Chatter
Page 11: Building Social Graph Utilities on Heroku for Chatter

All about Appirio

Appirio is a global services provider that helps enterprises reimagine their business and become more agile using crowdsourcing and cloud, social and mobile technology. ▪ More than 600 enterprise customers successfully moved to the cloud

▪ Strategic partner of Salesforce since 2006

▪ On-demand access to 600,000 of the world’s top developers, designers and data analysts through Appirio’s community

Page 12: Building Social Graph Utilities on Heroku for Chatter

Cory McIlroy

Appirio CloudSpokes Architect@coryio

Page 13: Building Social Graph Utilities on Heroku for Chatter