Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Player customization with Couchbase – Connect Silicon Valley 2017

294 views

Published on

Speaker: Clinton von Blommestein, Senior Software Developer, Derivco

In this session you will hear about our new real-time player customization system for online gaming. We’ll discuss why Couchbase is ideal as the data tier in this mission-critical system for hundreds of millions of players, not only for the performance it provides but also the features that make it a perfect fit for modern applications.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Player customization with Couchbase – Connect Silicon Valley 2017

  1. 1. PLAYER CUSTOMIZATION WITH COUCHBASE CLINTON VAN BLOMMESTEIN
  2. 2. Agenda • What are we solving? • What we ended up with. • Why Couchbase?
  3. 3. About Me • Clinton van Blommestein • Derivco • 16 years • Senior Developer, Horizon Team • Views are my own
  4. 4. Derivco
  5. 5. Derivco
  6. 6. Derivco CAPE TOWN JOHANNESBURG DURBAN
  7. 7. Derivco • Started in 1994 • Software provider • Casino, Poker, Mobile, Sportsbook, Bingo, etc.
  8. 8. What are we solving? • Player customization • Player segmentation • Player settings
  9. 9. Player Segmentation • Logical grouping of players • Events and Attributes • Game history, deposits, etc. • Extremely granular • Grouping, ungrouping • Targeting
  10. 10. Player Settings • Retrieve settings for a game • Validate settings before transaction • Up to 120 settings per game per user
  11. 11. Player Settings Stack DEFAULT
  12. 12. Player Settings Stack DEFAULT CURRENCY SEGMENT
  13. 13. Player Settings Stack DEFAULT CURRENCY REGULATED MARKET SEGMENT
  14. 14. Player Settings Stack • Around 10 levels • Multiple stacks
  15. 15. Current Implementation
  16. 16. Goals • Better utilization of hardware • Elastic scale • Make everything real time
  17. 17. Targets • Hundreds of millions of players • Unlimited attributes per player (Deposits, game history, etc) • Zero downtime • Modern software architecture
  18. 18. Technologies Microsoft Service Fabric Microsoft Orleans
  19. 19. Microsoft Service Fabric • Extensively used in Azure • Application, container and services host • Handles upgrades, failures, scale out • On-premise and/or cloud
  20. 20. Microsoft Orleans • Virtual “Actor” • Extremely performant • Xbox, Skype, Halo, Gears of War 4
  21. 21. What is a virtual actor? • Contains data and logic • Can be created and/or destroyed • Activation also based on timer events • Extremely high read/write requirements
  22. 22. Hundreds of millions
  23. 23. But data?
  24. 24. Tested
  25. 25. Couchbase Connect 2016 • Met with Couchbase Architects, Product Managers and Developers • Excited, passionate • Really willing to help
  26. 26. Couchbase • Strong consistency • CAS • Sub-Document operations • N1QL • DCP
  27. 27. Architecture Service Fabric Orleans Couchbase Orleans Couchbase Storage Provider
  28. 28. Feature - Consistency • Strong • Replica reads • Extremely high throughput
  29. 29. Feature - CAS • Keeps grains in check 2 2
  30. 30. Feature - CAS • Keeps grains in check 2 2 2
  31. 31. Feature - CAS • Keeps grains in check 2 3 3
  32. 32. Feature - CAS • Keeps grains in check 2 3 3
  33. 33. Feature – Sub-Document operations • No need for full document processing
  34. 34. Feature - N1QL • Familiar, easy to use • Very performant for most use cases • Allows hot vs cold split
  35. 35. Reporting Reporting ?
  36. 36. RabbitMQ ReportingRABBITMQ SUBSCRIBER
  37. 37. DCP • Couchbase protocol
  38. 38. DCP COUCHBASE COUCHBASE COUCHBASE
  39. 39. DCP COUCHBASE COUCHBASE COUCHBASE
  40. 40. DCP COUCHBASE COUCHBASE COUCHBASE Reporting DOT NET DCP CLIENT
  41. 41. Performance Stats > 1 million player setting requests per second Sub-millisecond Couchbase reads Realtime event processing Cloud burstable
  42. 42. Couchbase and 9th Bit • Implementation review • Infrastructure review • Onsite training
  43. 43. Thank You

×