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
21
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
12
Node.js middleware-connect module introduction
ericssonxiao
0
13
Hybrid APP Introduction
ericssonxiao
0
21
02_Introduction_MQTT_EN.pdf
ericssonxiao
0
5
Other Decks in Programming
See All in Programming
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
250
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
710
AIコーディングAgentとの向き合い方
eycjur
0
280
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
230
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
630
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
170
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
310
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
Compose Multiplatform × AI で作る、次世代アプリ開発支援ツールの設計と実装
thagikura
0
170
AIでLINEスタンプを作ってみた
eycjur
1
230
Navigating Dependency Injection with Metro
zacsweers
3
2.5k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Scaling GitHub
holman
463
140k
Music & Morning Musume
bryan
46
6.8k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Code Reviewing Like a Champion
maltzj
525
40k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
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!