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
360
Other Decks in Programming
See All in Programming
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
670
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
920
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
520
株式会社 Sun terras カンパニーデック
sunterras
0
220
Reduxモダナイズ 〜コードのモダン化を通して、将来のライブラリ移行に備える〜
pvcresin
2
680
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
370
止められない医療アプリ、そっと Swift 6 へ
medley
1
120
プログラマのための作曲入門
cheebow
0
540
CSC509 Lecture 02
javiergs
PRO
0
400
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
390
CSC305 Lecture 04
javiergs
PRO
0
250
Catch Up: Go Style Guide Update
andpad
0
170
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
51k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
960
Designing for Performance
lara
610
69k
Docker and Python
trallard
46
3.6k
The Cult of Friendly URLs
andyhume
79
6.6k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Thoughts on Productivity
jonyablonski
70
4.9k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Visualization
eitanlees
148
16k
Context Engineering - Making Every Token Count
addyosmani
5
180
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