Crowdpark architecture backend

1,375 views

Published on

My presentation on Webmontag-Berlin

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,375
On SlideShare
0
From Embeds
0
Number of Embeds
707
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Crowdpark architecture backend

    1. 1. Social GameArchitecture
    2. 2. Social Betting /Casino Games
    3. 3. HTML / JS - Frontend Game - External Backend Services Flash - Frontend Tracking / Metrics
    4. 4. HTML / JS - Frontend Game - External Backend Services Flash - Frontend Tracking / Metrics
    5. 5. HTML / JS - Frontend Game - External Backend ServicesFlash - Frontend Tracking / Metrics
    6. 6. HTML / JS - Frontend Game - External Backend Services Json-RpcFlash - Frontend Tracking / Metrics
    7. 7. Game -Rpc Backend
    8. 8. Game - CouchbaseRpc Backend
    9. 9. Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    10. 10. HTTP External Services Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    11. 11. HTTP External Services Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    12. 12. HTTP External Services Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    13. 13. Game - HTTP ExternalRpc Backend Services
    14. 14. Facebook: 300MS. - 3SEC. - ~900MS. Sendgrid: 500MS. - 5SEC. - ~1.7SEC. Urbanairship: 200MS. - 1.3SEC. - ~700MS. Game - HTTP ExternalRpc Backend Services External Call: 1SEC. - 5SEC. - ~2.7SEC.
    15. 15. Async System: - beanstalkd - json-rpc API railgun Game - HTTP ExternalRpc Services Backend
    16. 16. Cloudformation - Autoscaling EC2 Worker JobHTTP External JSON-RPC beanstalkd Worker ServicesBulk Support Job Worker Job
    17. 17. 15MS. - 50MS. HTTP ExternalRpc JSON-RPC Services Bulk Support
    18. 18. >1 Mio. emails >1 Mio. open graph calls <1 Days 15MS. - 50MS. HTTP ExternalRpc JSON-RPC Services Bulk Support
    19. 19. HTTP External Services Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    20. 20. Game - CouchbaseRpc Backend Tracking / Couchbase Metrics
    21. 21. Couchbase Replication Game -Rpc Backend Tracking / Couchbase Metrics
    22. 22. Couchbase - User DataViews 2 - Player Data - Session Data
    23. 23. - tracking - logging - complex views - map & reduce - multiple games tracking / logging data Tracking /Couchbase Metrics
    24. 24. Couchbase - easy merging of game data - application CBC is smaller Replication Tracking / Couchbase Metrics
    25. 25. App CBCApp CBC Tracking / MetricsApp CBC
    26. 26. 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
    27. 27. Q&Agithub.com/Crowdpark
    28. 28. Thx!Twitter: /crowdparkFacebook: /crowdparkSlideshare: /crowdpark

    ×