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
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
370
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
740
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
AI時代の認知負荷との向き合い方
optfit
0
160
ぼくの開発環境2026
yuzneri
0
240
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
組織で育むオブザーバビリティ
ryota_hnk
0
180
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
160
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
470
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
66k
Accessibility Awareness
sabderemane
0
53
Paper Plane
katiecoart
PRO
0
46k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
How to build a perfect <img>
jonoalderson
1
4.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Six Lessons from altMBA
skipperchong
29
4.2k
4 Signs Your Business is Dying
shpigford
187
22k
A designer walks into a library…
pauljervisheath
210
24k
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing for Performance
lara
610
70k
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!