couchbase usecase : mobile game cookierun
DESCRIPTION
Couchbase Usecase : Mobile Game Cookierun at Couchbase 5th meetup in KoreaTRANSCRIPT
![Page 2: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/2.jpg)
Cookierun History• Ovenbreak (2009)
• Ovenbreak2 (2012)
• Cookierun for Kakao (2013 April ~ )
• 16 million downloads
• DAU avg. 2 million
• Google Play Store Game Rank (In S. Korea)
![Page 3: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/3.jpg)
Infrastructure
• Amazon Web Service
• Route53, Auto Scaling, ELB, EC2, S3, CloudFront, RDS, …
• KT IDC, Ucloud
• Game Content Delivery
![Page 4: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/4.jpg)
Software Stack• Game API Server
• Java, Spring MVC, Mybatis
• MySQL 5.5 , Couchbase 2.2.0
• Tomcat 6.0, Ubuntu Linux 13.04
• Game Management System
• Python, Django, Boto (AWS Client)
• Service Monitoring
• CloudWatch, Zabbix, SNS, Statsd + Graphite
• Log Analytics
• Logstash, ElasticSearch, MapReduce(EMR)
![Page 5: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/5.jpg)
Service Architecture
Availability Zone-1 Availability Zone-2
Front-end game service
CloudFront Edge
S3 Buckets CloudFront Download Distribution
EC2 EC2
ELB
RDS
Database group
Mobile Game User
Apple / Google Push Service
EC2
Log Search (real-time)
EC2
Game & Server Monitoring
Auto-scalinggroup
EC2
Chef & Git Conf. Management
Log archives Patches & Game Data
CloudFormation
CloudWatch
Internet
Couchbase Cluster
EC2
![Page 6: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/6.jpg)
Couchbase Instance• AMI Type : Hi1.4xlarge
• CPU Intel Xeon E5-2620(Westmere) 2.4GHz
• RAM 60.5GiB
• SSD 1990GB
![Page 7: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/7.jpg)
Couchbase Statistics
• get 80K / sec
• set 5K / sec
• 3~4 times at peak
![Page 8: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/8.jpg)
Review Couchbase• Just in my personal opinion.
• Pros
• High performance
• Easy to install (through web-based console)
• Easy to scale out (in just a few clicks)
• Powerful web admin console
• Cons
• Not popular in S. Korea. (compared with Redis, …)
• Not enough Korean docs and books
• Not fit every situation (sometimes we need RDB features.)
![Page 9: Couchbase Usecase : Mobile Game Cookierun](https://reader035.vdocuments.pub/reader035/viewer/2022081813/5581d337d8b42ae06c8b53f9/html5/thumbnails/9.jpg)
Thanks• You can get more details by the following slide:
• http://www.slideshare.net/serialxnet/kgc2013-1
• We’re recruiting now.
• Feel free to contact us by [email protected]