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
敵対的ポイフル
futabato
0
130
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
680
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
Hanami and htmx
bkuhlmann
0
220
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
330
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
170
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
430
Polars入門
daikikatsuragawa
1
180
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
980
業務ツールとして使うPostman
msys75
0
110
PHPはいつから死んでいるかの調査
chiroruxx
2
420
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
830
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Debugging Ruby Performance
tmm1
70
11k
Into the Great Unknown - MozCon
thekraken
14
1k
We Have a Design System, Now What?
morganepeng
43
6.8k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Adopting Sorbet at Scale
ufuk
69
8.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
For a Future-Friendly Web
brad_frost
172
9k
Navigating Team Friction
lara
179
13k
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