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
4
Other Decks in Programming
See All in Programming
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
340
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
190
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
240
Java 22 Overview
kishida
1
180
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.4k
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
1
590
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
920
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
260
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
Anthropic Cookbook のおすすめレシピ
schroneko
7
970
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
960
Featured
See All Featured
Building Adaptive Systems
keathley
31
1.9k
How to Ace a Technical Interview
jacobian
272
22k
Thoughts on Productivity
jonyablonski
58
3.8k
The Language of Interfaces
destraynor
151
23k
How GitHub (no longer) Works
holman
304
140k
Ruby is Unlike a Banana
tanoku
96
10k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Designing Experiences People Love
moore
136
23k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Six Lessons from altMBA
skipperchong
21
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
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!