Scalability and  Availability
Spectrum of games
Static                   Dynamic         Spectrum of games
Static                   DynamicSimple                   Complex         Spectrum of games
Static                   DynamicSimple                   ComplexNiche                   Mass market         Spectrum of ga...
Availability is important
However...
“Everything fails  all the time                                ”    Werner Vogels, Amazon CTO
Elasticinfrastructure can        help
1. Static content
Images             Templates    DLC                 Stylesheets          Streaming                                       c...
Fast delivery
Scalable delivery
Survive viral lift
High                      Highredundancy                availability      Amazon S3               High             durabil...
Objects in buckets
Files in directories
http://s3.amazonaws.com/bucketname/objectidhttp://bucketname.s3.amazonaws.com/objectid
https://s3.amazonaws.com/bucketname/objectidhttps://bucketname.s3.amazonaws.com/objectid
Gb/month
99.999999999%    durability
Reduced redundancy      Lower cost
Hosted websites
Content distribution
CloudFrontPowerful content delivery network
On-demand
Custom origin
2. Dynamic content
Auto-scaling
ELBCloudWatch         Auto-scaling
Scaling group
NetworkIn                NetworkInScaling group                  Triggers                      (Alarms + Policies)
Launchconfigurations                         NetworkIn                         NetworkIn         Scaling group             ...
Additionalperformance
Launchconfigurations                         NetworkIn                         NetworkIn         Scaling group             ...
Launchconfigurations                         NetworkIn                         NetworkIn         Scaling group             ...
Launchconfigurations                         NetworkIn                         NetworkIn         Scaling group             ...
Launchconfigurations                         NetworkIn                         NetworkIn         Scaling group             ...
Auto-healing
Elastic Load Balancer
Databasesare bottleneck
Increase instance       size                 Data store             Vertical scaling
Increase instance number            Horizontal scaling
Master-masterHorizontal scaling
Master-masterMaster- slave      Horizontal scaling replication
A-G    H-L       M-Q      R-Z      Database sharding
MySQL                Oracle Relational Database Service
Synchronous replication     eu-west-1a   eu-west-1b High availability. Multi-AZ.
Asynchronous replication          Read replicas
Large data volumes
Time consuming
DynamoDB
Perfect fit for internet scale        applications
Provisioned throughput
Single digit millisecond       latencies
Consistentperformance
SSD backed
Scale with no downtime
Unlimited storage
Read unit
Write unit
Consistent  data
Inconsistent   reads
Preset alarms
Custom alarms
APIs updated
Visual Studio and Eclipse       integration
NoSQL data model
Simple Hash Keys
Composite keys
Query by key
Scan to query by attribute
Analytics integration
Fin.
Scalability and Availability
Scalability and Availability
Scalability and Availability
Scalability and Availability
Scalability and Availability
Scalability and Availability
Upcoming SlideShare
Loading in...5
×

Scalability and Availability

1,890

Published on

An introduction to scalability, reliability and DynamoDB on AWS. Slides from the 'Powering games with Amazon Web Services' event in London.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,890
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Scalability and Availability

    1. 1. Scalability and Availability
    2. 2. Spectrum of games
    3. 3. Static Dynamic Spectrum of games
    4. 4. Static DynamicSimple Complex Spectrum of games
    5. 5. Static DynamicSimple ComplexNiche Mass market Spectrum of games
    6. 6. Availability is important
    7. 7. However...
    8. 8. “Everything fails all the time ” Werner Vogels, Amazon CTO
    9. 9. Elasticinfrastructure can help
    10. 10. 1. Static content
    11. 11. Images Templates DLC Stylesheets Streaming content Webpages Assets Blog posts Textures Video Javascript PDFs
    12. 12. Fast delivery
    13. 13. Scalable delivery
    14. 14. Survive viral lift
    15. 15. High Highredundancy availability Amazon S3 High durability
    16. 16. Objects in buckets
    17. 17. Files in directories
    18. 18. http://s3.amazonaws.com/bucketname/objectidhttp://bucketname.s3.amazonaws.com/objectid
    19. 19. https://s3.amazonaws.com/bucketname/objectidhttps://bucketname.s3.amazonaws.com/objectid
    20. 20. Gb/month
    21. 21. 99.999999999% durability
    22. 22. Reduced redundancy Lower cost
    23. 23. Hosted websites
    24. 24. Content distribution
    25. 25. CloudFrontPowerful content delivery network
    26. 26. On-demand
    27. 27. Custom origin
    28. 28. 2. Dynamic content
    29. 29. Auto-scaling
    30. 30. ELBCloudWatch Auto-scaling
    31. 31. Scaling group
    32. 32. NetworkIn NetworkInScaling group Triggers (Alarms + Policies)
    33. 33. Launchconfigurations NetworkIn NetworkIn Scaling group Triggers (Alarms + Policies)
    34. 34. Additionalperformance
    35. 35. Launchconfigurations NetworkIn NetworkIn Scaling group Triggers (Alarms + Policies)
    36. 36. Launchconfigurations NetworkIn NetworkIn Scaling group Triggers (Alarms + Policies)
    37. 37. Launchconfigurations NetworkIn NetworkIn Scaling group Triggers (Alarms + Policies)
    38. 38. Launchconfigurations NetworkIn NetworkIn Scaling group Triggers (Alarms + Policies)
    39. 39. Auto-healing
    40. 40. Elastic Load Balancer
    41. 41. Databasesare bottleneck
    42. 42. Increase instance size Data store Vertical scaling
    43. 43. Increase instance number Horizontal scaling
    44. 44. Master-masterHorizontal scaling
    45. 45. Master-masterMaster- slave Horizontal scaling replication
    46. 46. A-G H-L M-Q R-Z Database sharding
    47. 47. MySQL Oracle Relational Database Service
    48. 48. Synchronous replication eu-west-1a eu-west-1b High availability. Multi-AZ.
    49. 49. Asynchronous replication Read replicas
    50. 50. Large data volumes
    51. 51. Time consuming
    52. 52. DynamoDB
    53. 53. Perfect fit for internet scale applications
    54. 54. Provisioned throughput
    55. 55. Single digit millisecond latencies
    56. 56. Consistentperformance
    57. 57. SSD backed
    58. 58. Scale with no downtime
    59. 59. Unlimited storage
    60. 60. Read unit
    61. 61. Write unit
    62. 62. Consistent data
    63. 63. Inconsistent reads
    64. 64. Preset alarms
    65. 65. Custom alarms
    66. 66. APIs updated
    67. 67. Visual Studio and Eclipse integration
    68. 68. NoSQL data model
    69. 69. Simple Hash Keys
    70. 70. Composite keys
    71. 71. Query by key
    72. 72. Scan to query by attribute
    73. 73. Analytics integration
    74. 74. Fin.

    ×