[Gaming on AWS] AWS를 이용한 국내 게임 서비스

Post on 07-Sep-2014

681 views 13 download

Tags:

description

AWS를 이용한 국내 게임 서비스 (정윤진 책임, AWS Solutions Architect)

Transcript of [Gaming on AWS] AWS를 이용한 국내 게임 서비스

Domestic Game Services

on AWS

Younjin Jeong Solutions Architect

next 30mins,

Latency

Disk I/O

CDN

Analytics

Latency

Legions of heros

Legions of heros

Enhanced Networking

http://windowsitpro.com/site-

files/windowsitpro.com/files/archive/windowsitpro.com/content/content/142153/networkoptimizationvmdqsriovsml.jpg

Latency

Enhanced Networking

http://windowsitpro.com/site-

files/windowsitpro.com/files/archive/windowsitpro.com/content/content/142153/networkoptimizationvmdqsriovsml.jpg

Latency - SR-IOV

New Instance Type

c3 family

Latency - new instance types

New Instance Type

i2 family

Latency - new instance types

http://www.cloudping.info/

Latency Check

Disk I/O

GunZ 2 online - TPS

GunZ 2 online - TPS

Write heavy

OK OK,

Maybe.

? ? ? ?

10K user 100K user 100M user

Database I/O handling

EBS-Optimized instance

PIOPS EBS Volume

Scale - Up/Down

Change instance type

Create new EBS

1G - 1TB

Max 4000 IOPS

Database I/O handling - tablespace

EBS-Optimized instance Scale - Up/Down

Change instance type

table a table b table c table d table

d’

100G

1000 PIOPS

Standard

EBS

100G

3000 PIOPS

50G

1500 PIOPS

50G

1500 PIOPS

EBS Volumes

Database I/O handling - tablespace

EBS-Optimized instance Scale - Up/Down

Change instance type

table d table

d’

100G

3000 PIOPS

50G

1500 PIOPS

50G

1500 PIOPS

100G

3000 PIOPS

100G

3000 PIOPS

RAID 0

Database I/O handling - Shard

Lobby / World role instances

table A table C table B

Replications

Database I/O handling - Hierarchical reference

Lobby / World role instances

table A

table B

table C

User A? table B!

user A!

Database I/O handling

or you may simply use

DynamoDB

NoSQL from AWS

http://aws.amazon.com/ko/dynamodb

Check current performance Read throughput Write throughput

DynamoDB

Client distribution

CDN (Content Delivery Network)

METALBREAKER

METALBREAKER

Cost

Time

Contract based

upfront payment

waste

waste

Client distribution - cost issue

Cost

Time

Contract based

upfront payment

waste

waste

Client distribution - cost issue

No contract, No upfront capital

Pay as you go

CloudFront

We have special offer!

CFRC (CloudFront Reserved Capacity)

And,

SEOUL

51 Global Edge Locations

CloudFront

CloudFront - Global coverage

Analytics

Analytics

Game play

Payment

Access

Error

Logs

Find abusers

Game play pattern

Who’s our customers?

Why error?

Analytics - tons of data, but no cheap tools

44

Analytics

Amazon S3

Meaningful data

DynamoDB

EC2 - custom applications

Elastic Map Reduce

Redshift

Realtime Analytics?

Kinesis

http://aws.amazon.com/ko/kinesis

aws.amazon.com/ko/game-hosting