Top Banner
Everything You Need to Know About How GraphSearch Works in 15-ish Minutes Kelvin Newman @kelvinnewman
73

#smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Aug 20, 2015

Download

Business

Kelvin Newman
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Everything You Need to Know About How GraphSearch Works

in 15-ish MinutesKelvin Newman

@kelvinnewman

Page 2: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Or if this presentation has a sub-title...

Page 3: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Edges, Nodes and a Frickin’ Unicorn

http://www.escapefromcubiclenation.com/

Page 4: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Strategy DirectorSiteVisibility

A digital agency specialising in retail, travel and financial services

Page 5: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

OrganiserBrightonSEO/Content

Marketing ShowTwo Free (and awesome) Conferences

Page 6: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Co-FounderClockwork Talent

Decent Digital Recruitment

Page 7: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Not here to convince you GraphSearch will

catch on but...

Page 8: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

If the area of this slide represents all the

traffic on the internet

Page 9: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

This much is Facebook

http://mashable.com/2010/11/19/facebook-traffic-stats/

Page 10: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

And every thing in grey is the rest

of the internet

Page 11: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Google, YouTube, Wikipedia, The Daily Mail, etc.

Page 12: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

your website, my website, her website etc.

Page 13: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

we’re fighting over the scraps

Page 14: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

If anyone can build a Google-Killer

it’s Facebook...

Page 15: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

There’s a fundamental difference between Facebook & Google

Page 16: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

is about...

Page 18: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

is about...

Page 20: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

this difference is subtle but

huge

Page 21: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

but I think it works better for the web

as we know it

JD Hancock

Page 22: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Facebook’s data has a far more

explicit structure than traditional

web text

D Hancock

Page 23: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

it’s not that tricky for Google to parse “I Like Nerf Guns”

porkist

Page 24: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

they could even have a go at “I was at Cattlegrid in Leeds for

Lunch Yesterday”**if you mark it up in the right way

R_Savvy

Page 25: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

but has a much harder job understanding “Kelvin is

married to Carolyn”

Page 26: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Facebook knows that happened in 2007

Page 27: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

And who attended the ceremony

Page 28: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

And when we got engaged

Page 29: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

etc.

Page 30: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

On GraphSearch you’re not really making a

search.

You’re just filtering a structured database of all

the data Facebook has.

Page 31: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

The Problem

Page 32: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

But it’s a bloody big database

JD Hancock

Page 33: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

1 Billion Users Every Month

Page 34: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

240 Million Photo’s Per Day

Page 35: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

2.7 Billion Likes Everyday

Page 36: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

People share billions of pieces of content

everyday

Page 37: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

One trillion connections of a thousand different

types

Page 38: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

1,000,000,000,000

Page 39: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

The Solution?

Page 40: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

The Aforementioned Frickin’ Unicorn

Page 41: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

But before we get into the unicorn,

let’s take a step back and define some terms

Page 42: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Edges & Nodes

Page 43: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Nodes are Nouns

Page 44: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Edges are Verbs

Page 45: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Every User, Page, Photo, Post & Place is a Node

JD Hancock

Page 46: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Every friendship, checkin, tag or like is an Edge

JD Hancock

Page 47: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Each Node has Meta-Data like description, this how

the old FB Search “worked”

Page 48: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes
Page 49: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

GraphSearch Allows you search the Edges as well as the

Nodes

JD Hancock

Page 50: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Back the the Unicorn

Page 51: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Unicorn is and “inverted index system”

Page 52: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

an inverted index (also referred to as postings file or inverted file) is an index data structure storing a mapping from content, such as words or numbers, to its locations in a database file, or in a document or a set of documents. The purpose of an inverted index is to allow fast full text searches, at a cost of increased processing when a document is added to the database.

Page 53: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

The main components of Unicorn are:

■The index -- a many-to-many mapping from attributes (strings) to entities (fbids)

■A framework to build the index from other persistent data and incremental updates

■A framework to retrieve entities from the index based on various constraints on attributes

Page 54: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Suppose your friend has fbid 1234 and lives in New York and likes Downton Abbey. The index corresponding to your friend will include the mappings: 

            friend:10003 → 1234            lives-in:111 → 1234            like:222 → 1234

Here, we assume your fbid is 10003, and the fbid’s of New York and Downtown Abbey are 111 and 222 respectively.

In addition, friend:10003, lives-in:111, and like:222 may map to other users that share these attributes.

Page 55: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Unicorn makes it easy to find nodes that are connected to another node by searching for an edge-type combined with an input node. 

E.g.:■Your friends:  friend:10003■People who live in new york: lives-in:111■People who like downtown abbey: like:222

Page 56: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

‘Facebook use query-independent signals to come up with a numeric value for importance.

This value is called the “static rank” of the entity.’

JD Hancock

Page 57: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

What makes up static rank is still up for debate, but sensibly could be

informed by the elements of Edgerank

aka

the newsfeed algo

Page 58: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes
Page 59: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Affinity

Page 60: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Weight

Page 61: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Decay

Page 62: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

But what do I do?

Page 63: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

The value of legitimate likes from

well connected people just increased

Page 64: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Mark Up using the Open Graph

Protocol

http://ogp.me/

Page 65: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

You need an ‘Affinity

Acquisition Approach’

Page 70: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Tease

Page 71: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Get people to tag you

Page 72: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

Do good Social Marketing

Page 73: #smxlondon Everything You Need to Know About How GraphSearch Works in 15-ish Minutes

tl;dr

Graph Search is pretty awesome but works completely differently to Google rankings

rely exclusively on the connections between the user and the entity ranking, so you

need do ‘good’ Facebook marketing with a real focus on

building affinity.