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
1
140
Crowdpark Backend Architecture
Francis Varga
October 25, 2012
Tweet
Share
More Decks by Francis Varga
See All by Francis Varga
CouchConf Berlin 2012
littlebuddha87
3
350
Other Decks in Programming
See All in Programming
freeeのエンジニアが 就活で出そうな コーディングテストを 解説してみる
freee
0
150
Good first issues of TypeProf
mame
2
490
Jetpack Composeとデザインシステム
rmakiyama
0
230
Ruby on Fails - effective error handling with Rails conventions
talyssonoc
0
290
Node.js v22 で変わること
yosuke_furukawa
PRO
12
4.2k
otelcol receiver 自作RTA / Pepabo Tech Conference #22 春のSREまつり
arthur1
0
690
Implementing Design Systems in Swift
seyfoyun
2
530
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1k
RaaP
ksss
0
150
Revisiting the Hotwire Landscape after Turbo 8 @ RailsConf 2024, Detroit
marcoroth
3
610
RustでAWS Lambda functionをいい感じに書く
taiki45
2
150
TypeScriptの型とパフォーマンス (TSKaigi 2024)
ypresto
14
4.4k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
75
5.2k
Thoughts on Productivity
jonyablonski
60
3.9k
Designing with Data
zakiwarfel
96
4.8k
A better future with KSS
kneath
231
16k
Clear Off the Table
cherdarchuk
86
310k
Designing the Hi-DPI Web
ddemaree
276
33k
Become a Pro
speakerdeck
PRO
13
4.6k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Music & Morning Musume
bryan
41
5.6k
Rails Girls Zürich Keynote
gr2m
91
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Teambox: Starting and Learning
jrom
128
8.4k
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