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
23
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
14
Hybrid APP Introduction
ericssonxiao
0
22
02_Introduction_MQTT_EN.pdf
ericssonxiao
0
6
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.4k
CSC305 Lecture 10
javiergs
PRO
0
320
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
260
KoogではじめるAIエージェント開発
hiroaki404
1
180
Ktorで簡単AIアプリケーション
tsukakei
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1k
Inside of Swift Export
giginet
PRO
1
220
Node-REDのノードの開発・活用事例とコミュニティとの関わり(Node-RED Con Nagoya 2025)
404background
0
100
三者三様 宣言的UI
kkagurazaka
0
290
One Enishi After Another
snoozer05
PRO
0
170
contribution to astral-sh/uv
shunsock
0
560
Featured
See All Featured
Code Review Best Practice
trishagee
72
19k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
BBQ
matthewcrist
89
9.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
A better future with KSS
kneath
239
18k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
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!