Graph Infection @
Gamesys
§

Toby O’Rourke

November 2013
Overview
•

About Gamesys

•

First exposure

•

A quick game of spot the difference

•

The infection spreads

•

It’s an...
About Gamesys
• Major Cash & Social Gaming operator, primarily in UK & Europe
• World’s first Cash gaming on Facebook
• So...
First Exposure
“This is all about connected data, what can we find
to help with that?”
- Toby O’Rourke, Technical Architec...
Building an Internal Social Network
• Online Bingo is a highly social game, there is chat alongside the game
• Acquiring n...
Neo4j in 2011
• Cypher was brand new and experimental
• Read only
• Gremlin was the preferred query language

• Spring Dat...
What we did
• Embedded database in the app
• spring-data-neo4j as API to db
• Domain Objects have SDN annotations
• That’s...
November 2013
Looking at our Graph

November 2013
Aside: Refer a Friend in Cash Gaming
• Referee gets a cash bonus straight away
• Constrained by a “play through” requireme...
A Quick Game of Spot the
Difference

November 2013
November 2013
November 2013
The Infection Spreads
“Hey, Who is the Neo4j expert in the building?
Our guys want to use it”
- Tom Newton, Director of So...
Challenges making a MMORPG playable
• Here Be Monsters (https://apps.facebook.com/herebemonsters/)
• Complex economy, 1000...
Enter Neo4j
• Put every item, location, monster, trap and quest in to the graph

November 2013
November 2013
Enter Neo4j
• Put every item, location, monster, trap and quest in to the graph
• Brew some secret sauce to define “poor g...
November 2013
November 2013
Results
• Completed a major refactor of the game economy
• KPIs are up
• More players, more activity
• Time to market was ...
It’s an Epidemic!
“I hear you have already been doing this so would
be keen to start getting to grips with Cypher and
expl...
Find out more
on LinkedIn

linkedin.com/company/gamesys
on Twitter
@officialgamesys

@tobyorourke
@theburningmonk

Novembe...
Thanks!
§

November 2013
Upcoming SlideShare
Loading in …5
×

Gamesys graph-connect-london

847 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
847
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Gamesys graph-connect-london

  1. 1. Graph Infection @ Gamesys § Toby O’Rourke November 2013
  2. 2. Overview • About Gamesys • First exposure • A quick game of spot the difference • The infection spreads • It’s an epidemic! November 2013
  3. 3. About Gamesys • Major Cash & Social Gaming operator, primarily in UK & Europe • World’s first Cash gaming on Facebook • Social Games include Jackpotjoy Slots & Here Be Monsters • Bingo, Slots, Casino, Instants • Handle ~5bn wagers per annum • 200k unique cash players a month November 2013
  4. 4. First Exposure “This is all about connected data, what can we find to help with that?” - Toby O’Rourke, Technical Architect, Gamesys November 2013
  5. 5. Building an Internal Social Network • Online Bingo is a highly social game, there is chat alongside the game • Acquiring new players can be very expensive • Players acquired by referral are cheaper to acquire and higher value • We want to incentivise members to refer their friends • We wanted to learn about the social relationships between players November 2013
  6. 6. Neo4j in 2011 • Cypher was brand new and experimental • Read only • Gremlin was the preferred query language • Spring Data Neo4j was at 1.x • Heavy use of AspectJ • Difficult to use in IDEs • HA used Zookeeper November 2013
  7. 7. What we did • Embedded database in the app • spring-data-neo4j as API to db • Domain Objects have SDN annotations • That’s more than OK, it’s good. Connectedness is part of the domain • Had to drop back to straight Java API using Neo4jTemplate in a few places November 2013
  8. 8. November 2013
  9. 9. Looking at our Graph November 2013
  10. 10. Aside: Refer a Friend in Cash Gaming • Referee gets a cash bonus straight away • Constrained by a “play through” requirement • Referrer gets a cash bonus once the Referee has played a certain amount • Typically, the cash bonus for the referrer is greater than the minimum deposit requirement for the referee November 2013
  11. 11. A Quick Game of Spot the Difference November 2013
  12. 12. November 2013
  13. 13. November 2013
  14. 14. The Infection Spreads “Hey, Who is the Neo4j expert in the building? Our guys want to use it” - Tom Newton, Director of Social Gaming, Gamesys November 2013
  15. 15. Challenges making a MMORPG playable • Here Be Monsters (https://apps.facebook.com/herebemonsters/) • Complex economy, 1000’s items, monsters, locations and traps • What if the items needed for an early quest are opposite ends of the world? • What if a basic game commodity is too scarce? • How do we test this beast? November 2013
  16. 16. Enter Neo4j • Put every item, location, monster, trap and quest in to the graph November 2013
  17. 17. November 2013
  18. 18. Enter Neo4j • Put every item, location, monster, trap and quest in to the graph • Brew some secret sauce to define “poor gaming experience” • Analyse graph to match poor experiences • Focus play testing effort on potentially problematic areas • More certainty over behaviour of a complex universe • Fun! November 2013
  19. 19. November 2013
  20. 20. November 2013
  21. 21. Results • Completed a major refactor of the game economy • KPIs are up • More players, more activity • Time to market was reduced • Repeatable process November 2013
  22. 22. It’s an Epidemic! “I hear you have already been doing this so would be keen to start getting to grips with Cypher and exploring the data” - Guy Dawson, BI Analyst, Gamesys November 2013
  23. 23. Find out more on LinkedIn linkedin.com/company/gamesys on Twitter @officialgamesys @tobyorourke @theburningmonk November 2013
  24. 24. Thanks! § November 2013

×