gaming on aws - 3. dynamodb 모델링 및 streams 활용법
TRANSCRIPT
DynamoDB Streams
•
•
•
•
•
Amazon DynamoDB Amazon RDS
…
…
……
…
…
…
……
…
•••
“Our first Facebook game, Fruit Ninja Frenzy, jumped from 1 million to 8 million active monthly users in only two weeks. While growth like that is great, it’s really tough to quickly scale a normal database system to handle that kind of rapid increase in load, and our system was being strained. DynamoDB came along at just the right time. We switched to storing our game data in DynamoDB, which alleviated our scaling problems while also freeing us from the burden of managing all the underlying hardware and software. We love that DynamoDB handles so much of the management for us, freeing us to focus on development.”
- Glen Arrowsmith, Systems Architect, Halfbrick Studios
Halfbrick Studios
•
•
•
•
•
•
•
•{
item = string : “sword” : name = string : attack = number : 5
} {
item = string : “shield”name = string : defense = number : 10
}
ItemList(item, ... )
•••
•••
••••
Read capacity units
Writecapacity units
••••
••••
AWS Lambda
Amazon Redshift
Amazon SNS
Amazon Machine Learning
Game servers
Kinesis-enabled
app
Game clients
Mobile clients
•••
Streams clients
DynamoDB Streams
Open Source Cross Region Replication Library
Singapore San Francisco
Tokyo
DynamoDB Streams
Recovery Table
Tokyo
DynamoDB Streams
Tokyo
AWS Lambda
Amazon SNS
Singapore