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
Crowdpark Backend Architecture
Search
Francis Varga
October 25, 2012
Programming
150
1
Share
Crowdpark Backend Architecture
Francis Varga
October 25, 2012
More Decks by Francis Varga
See All by Francis Varga
CouchConf Berlin 2012
littlebuddha87
3
360
Other Decks in Programming
See All in Programming
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
180
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
1
360
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.3k
Making the RBS Parser Faster
soutaro
0
720
【ディップ|26年新卒研修資料】TDD実装演習
dip_tech
PRO
0
190
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
130
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
290
AI Agent と正しく分析するための環境作り
yoshyum
2
510
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
2
330
Firefoxにコントリビューションして得られた学び
ken7253
2
160
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
Embracing the Ebb and Flow
colly
88
5k
How STYLIGHT went responsive
nonsquared
100
6.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Bash Introduction
62gerente
615
210k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
sira's awesome portfolio website redesign presentation
elsirapls
0
240
Transcript
Social Game Architecture 1 Friday, October 26, 12
Social Betting / Casino Games 2 Friday, October 26, 12
3 Friday, October 26, 12
Tracking / Metrics Game - Backend External Services Flash -
Frontend HTML / JS - Frontend 3 Friday, October 26, 12
Tracking / Metrics External Services Game - Backend Flash -
Frontend HTML / JS - Frontend 4 Friday, October 26, 12
Tracking / Metrics External Services Game - Backend Flash -
Frontend HTML / JS - Frontend 4 Friday, October 26, 12
Tracking / Metrics External Services Game - Backend Flash -
Frontend HTML / JS - Frontend Json-Rpc 4 Friday, October 26, 12
Game - Backend Rpc 5 Friday, October 26, 12
Couchbase Game - Backend Rpc 5 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc 5
Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc External
Services HTTP 5 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc External
Services HTTP 5 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc External
Services HTTP 5 Friday, October 26, 12
Game - Backend Rpc External Services HTTP 5 Friday, October
26, 12
Game - Backend Rpc External Services HTTP Facebook: 300MS. -
3SEC. - ~900MS. Sendgrid: 500MS. - 5SEC. - ~1.7SEC. Urbanairship: 200MS. - 1.3SEC. - ~700MS. External Call: 1SEC. - 5SEC. - ~2.7SEC. 6 Friday, October 26, 12
Game - Backend Rpc External Services HTTP railgun Async System:
- beanstalkd - json-rpc API 7 Friday, October 26, 12
External Services HTTP JSON-RPC Bulk Support beanstalkd Worker Worker Worker
Cloudformation - Autoscaling Job Job Job EC2 8 Friday, October 26, 12
Rpc External Services HTTP 15MS. - 50MS. JSON-RPC Bulk Support
9 Friday, October 26, 12
Rpc External Services HTTP >1 Mio. emails >1 Mio. open
graph calls <1 Days 15MS. - 50MS. JSON-RPC Bulk Support 9 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc External
Services HTTP 10 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Game - Backend Rpc 10
Friday, October 26, 12
Game - Backend Rpc Couchbase Tracking / Metrics Couchbase Replication
11 Friday, October 26, 12
Couchbase Views 2 - User Data - Player Data -
Session Data 12 Friday, October 26, 12
Couchbase Tracking / Metrics - tracking - logging - complex
views - map & reduce - multiple games tracking / logging data 13 Friday, October 26, 12
Couchbase Tracking / Metrics Couchbase Replication - easy merging of
game data - application CBC is smaller 14 Friday, October 26, 12
Tracking / Metrics App CBC App CBC App CBC 15
Friday, October 26, 12
Architecture Overview • AWS • CDN -> Cloudfront • Webserver
-> EC2 • Couchbase -> EC2 • Storage -> S3 • Monitoring • New-Relic (http://newrelic.com) • DataDog (http://datadoghq.com) • PHP 5.3 -> Nginx -> PHP-FPM 16 Friday, October 26, 12
17 Friday, October 26, 12
Q&A github.com/Crowdpark 18 Friday, October 26, 12
Thx! Twitter: /crowdpark Facebook: /crowdpark Slideshare: /crowdpark 19 Friday, October
26, 12