1 / 21

Cloud Save across Platforms & Devices

Peter Heinrich , Technical Evangelist. Cloud Save across Platforms & Devices. Games Services, Appstore for Android. Customer Experience. “ Put Buyers First? What a Concept” – Joe Nocera, New York Times.

tanika
Télécharger la présentation

Cloud Save across Platforms & Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peter Heinrich, Technical Evangelist Cloud Save across Platforms & Devices

  2. Games Services,Appstore for Android

  3. Customer Experience “Put Buyers First? What a Concept” – Joe Nocera, New York Times “Amazon.com Core Values: A Customer Experience Obsession” – Flavio Martins, WinTheCustomer! “If you do build a great experience, customers tell each other about that. Word of mouth is very powerful.” – Jeff Bezos “Amazon's obsession with customers pays off”– Matt Linderman, Signal vs. Noise

  4. Save Customer Game Data!

  5. Small $$$ Fragile Mobile Devices Easy to misplace or lose Often targeted for theft Easily damaged or broken

  6. Mobile + Cloud, BFFs DB

  7. ? ? ? Use Cases Get Complicated

  8. Real Money, Real Problems !

  9. Currency Is Tricky Don’t allow offline purchases Allow, but exclude consumables Support negative balances Even online devices need to coordinate balance updates between themselves

  10. Time Played across Devices 5 5+2 7+13 7 min 20 min 5 min 5 7 min 20

  11. Time Played across Devices 5 2 13 2 min 13 min 5 min min 5, 2, or 13? 13

  12. Time Played across Devices 5 2 13 2 min 13 min 5 min 5 7 min 20

  13. Running Totals Make each client a local authority Keep subtotals and combine them in the cloud Return total on demand Sending deltas in updates is not idempotent

  14. Other Game Data

  15. No Restrictions = Lots of Work Concurrency Control Sequence 2 1 3 1 3 2

  16. Mergeable Data Uses a simple rule for conflict resolution, based on the nature of the data: High Score – largest / biggest Best Time – lowest / fastest Last Monster – most recent

  17. Optimistic Locking • Save local timestamp or sequence # • Update local value • Retrieve remote timestamp / sequence # • If local > remote, push to cloud • Else, pull from cloud

  18. Conflict Resolution Model data with mergeable types Simple rules allow unattended conflict resolution Nature of data defines rule Common types: Highest / lowest number, most-recent string

  19. Whispersync for Games • Queues updates for offline operation • Automatically resolves conflicts between mobile devices and cloud • Lightweight API with fast integration Syncable Types: Number lowest, highest, most recent String most recent AccumulatingNumber running totals NumberList ascending, descending, latest StringList most recent StringSet Map

  20. Learn more: developer.amazon.com Contact us: forums.developer.amazon.com developer.amazon.com/help/contactus.html Follow us: @peterdotgames /AmazonAppstoreForAndroid developer.amazon.com/blog

More Related