Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to build a Social Game Architecture by Python
Search
eric.xiao
March 01, 2020
Programming
0
24
How to build a Social Game Architecture by Python
eric.xiao
March 01, 2020
Tweet
Share
More Decks by eric.xiao
See All by eric.xiao
AngularJS practice
ericssonxiao
0
13
Node.js middleware-connect module introduction
ericssonxiao
0
15
Hybrid APP Introduction
ericssonxiao
0
22
02_Introduction_MQTT_EN.pdf
ericssonxiao
0
8
Other Decks in Programming
See All in Programming
Data-Centric Kaggle
isax1015
2
780
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
980
CSC307 Lecture 09
javiergs
PRO
1
840
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
460
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Oxlintはいいぞ
yug1224
5
1.3k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
Music & Morning Musume
bryan
47
7.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
GitHub's CSS Performance
jonrohan
1032
470k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
BBQ
matthewcrist
89
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Transcript
AN SIMPLE INTRODUCTION OF REKOO AN SIMPLE INTRODUCTION OF REKOO
SOCIAL GAME BACK-END ARCHITECTURE SOCIAL GAME BACK-END ARCHITECTURE
REKOO PRODUCTS INTRODUCTION: REKOO PRODUCTS INTRODUCTION: Social Game: the serial
of Sunny, the serial of Moon Operation Platform:Tencent, RenRen Social Website, 51.com, Taobao, Baidu, Souhu Mixi, DeNA, GREE, KDDI, Yabage, Facebook, MySpace Country:Japan, South Korea, Russia, Germany, Poland
THE CHALLENGE: THE CHALLENGE: 1. Development ef ciency 2. Flexible
deployment 3. Big Data storage 4. Scalability
TECHNOLOGY STACK: TECHNOLOGY STACK: Front-end Stack: 1. ActionScript/MXML(Fash/Flex) 2. HTML
3. JavaScript Back-end Stack: 99% Python
PYTHON LIBRARIES PYTHON LIBRARIES 1. Django 2. MySQLdb 3. SQLAlchemy
4. Twisted 5. Pylibmc 6. up 7. Tokyo Tyrant
SIMPLE ARCHITECTURE: SIMPLE ARCHITECTURE:
WEB SERVER: WEB SERVER: 1. Nginx 2. FastCGI 3. Running
Django process in Prefork mode 4. Load balancing: LVS or HAProxy
CACHE SERVER: CACHE SERVER: 1. Compatible with memcached protocol 2.
Full memory cache or persistent cache 3. Scalability with cluster deployment Tools: Memcached, Tokyo Tyrant, Flare, Kumofs, Membase
CACHE CLIENT: CACHE CLIENT: 1. Pylibmc 2. Data compression 3.
tcp_nodelay 4. Proxy
DATABASE: DATABASE: 1. MySQL Wrapped as Key-value Store 2. Horizontal
sharding partition by uid 3. Data in the cache is written back to the database asynchronously
STATISTICAL ANALYSIS OF BUSINESS DATA: STATISTICAL ANALYSIS OF BUSINESS DATA:
1. Analysis Based Database using python write statistical analysis script 2. Analysis Based Log records - Scribe - Hadoop + Hive
THANK YOU! THANK YOU!