SlideShare una empresa de Scribd logo
1 de 30
Social Game
Architecture
Social Betting /
Casino Games
HTML / JS -
 Frontend             Game -         External
                      Backend        Services

   Flash - Frontend
                      Tracking / Metrics
HTML / JS -
 Frontend             Game -         External
                      Backend        Services

   Flash - Frontend
                      Tracking / Metrics
HTML / JS -
 Frontend          Game -       External
                   Backend      Services

Flash - Frontend
                   Tracking / Metrics
HTML / JS -
 Frontend                     Game -       External
                              Backend      Services
                   Json-Rpc
Flash - Frontend
                              Tracking / Metrics
Game -
Rpc
      Backend
Game - Couchbase
Rpc
      Backend
Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
HTTP      External
                            Services

      Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
HTTP      External
                            Services

      Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
HTTP      External
                            Services

      Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
Game -    HTTP   External
Rpc
      Backend          Services
Facebook:     300MS. - 3SEC. - ~900MS.
                Sendgrid:     500MS. - 5SEC. - ~1.7SEC.
                Urbanairship: 200MS. - 1.3SEC. - ~700MS.



      Game -           HTTP               External
Rpc
      Backend                             Services
                            External Call:
                       1SEC. - 5SEC. - ~2.7SEC.
Async System:
            - beanstalkd
            - json-rpc API
                     railgun
      Game - HTTP              External
Rpc                            Services
      Backend
Cloudformation - Autoscaling
                                   EC2

                                  Worker
                  Job



HTTP                                                   External
 JSON-RPC      beanstalkd         Worker
                                                       Services
Bulk Support

                  Job


                                  Worker
                  Job
15MS. - 50MS.
       HTTP           External
Rpc    JSON-RPC       Services
      Bulk Support
>1 Mio. emails
                      >1 Mio. open graph calls
                      <1 Days

      15MS. - 50MS.
       HTTP                      External
Rpc    JSON-RPC                  Services
      Bulk Support
HTTP      External
                            Services

      Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
Game - Couchbase
Rpc
      Backend
                            Tracking /
                Couchbase    Metrics
Couchbase

                               Replication

      Game -
Rpc
      Backend
                                  Tracking /
                   Couchbase       Metrics
Couchbase   - User Data
Views 2     - Player Data
            - Session Data
- tracking
        - logging
        - complex views
          - map & reduce
        - multiple games tracking / logging data


                    Tracking /
Couchbase            Metrics
Couchbase             - easy merging of game data
                      - application CBC is smaller

               Replication


                     Tracking /
   Couchbase          Metrics
App CBC



App CBC   Tracking /
           Metrics


App CBC
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
Q&A
github.com/Crowdpark
Thx!
Twitter: /crowdpark
Facebook: /crowdpark
Slideshare: /crowdpark

Más contenido relacionado

La actualidad más candente

HAProxy tech talk
HAProxy tech talkHAProxy tech talk
HAProxy tech talk
icebourg
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)
NYversity
 
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
Lukas Leander Rosenstock
 

La actualidad más candente (13)

Prezentacja zimowisko 2014
Prezentacja zimowisko 2014Prezentacja zimowisko 2014
Prezentacja zimowisko 2014
 
Service workers - Velocity 2016 Training
Service workers - Velocity 2016 TrainingService workers - Velocity 2016 Training
Service workers - Velocity 2016 Training
 
HAProxy tech talk
HAProxy tech talkHAProxy tech talk
HAProxy tech talk
 
RPC protocols
RPC protocolsRPC protocols
RPC protocols
 
Perl comet
Perl cometPerl comet
Perl comet
 
New features in PMTA 5.0
New features in PMTA 5.0New features in PMTA 5.0
New features in PMTA 5.0
 
Web Server Load Balancer
Web Server Load BalancerWeb Server Load Balancer
Web Server Load Balancer
 
FxUG@北陸資料
FxUG@北陸資料FxUG@北陸資料
FxUG@北陸資料
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)
 
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
PHP Frameworks, Libraries & Tools - BarCamp RheinMain 2013
 
Programmable data plane at terabit speeds
Programmable data plane at terabit speedsProgrammable data plane at terabit speeds
Programmable data plane at terabit speeds
 
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud Training - HAProxy IntroChinaNetCloud Training - HAProxy Intro
ChinaNetCloud Training - HAProxy Intro
 
MariaDB Replication manager and HAProxy (HAProxy Paris Meetup)
MariaDB Replication manager and HAProxy (HAProxy Paris Meetup)MariaDB Replication manager and HAProxy (HAProxy Paris Meetup)
MariaDB Replication manager and HAProxy (HAProxy Paris Meetup)
 

Destacado (6)

The Kobo Vox for Academic Library Circulation
The Kobo Vox for Academic Library CirculationThe Kobo Vox for Academic Library Circulation
The Kobo Vox for Academic Library Circulation
 
I Care Presentation W 2 Kip
I Care Presentation W 2 KipI Care Presentation W 2 Kip
I Care Presentation W 2 Kip
 
Skyquestcom by Kolirana
Skyquestcom by KoliranaSkyquestcom by Kolirana
Skyquestcom by Kolirana
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqman
 
Ch11 cms march1
Ch11 cms march1Ch11 cms march1
Ch11 cms march1
 
Summary (refrigeration and air conditioning )
Summary (refrigeration and air conditioning )Summary (refrigeration and air conditioning )
Summary (refrigeration and air conditioning )
 

Similar a Crowdpark architecture backend

Introduction to RPKI by Sheryl (Shane) Hermoso
Introduction to RPKI by Sheryl (Shane) HermosoIntroduction to RPKI by Sheryl (Shane) Hermoso
Introduction to RPKI by Sheryl (Shane) Hermoso
MyNOG
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
Data Science Milan
 

Similar a Crowdpark architecture backend (20)

Resource Public Key Infrastructure (RPKI)
Resource Public Key Infrastructure (RPKI) Resource Public Key Infrastructure (RPKI)
Resource Public Key Infrastructure (RPKI)
 
Design review
Design reviewDesign review
Design review
 
Puppet ENC – a ServiceNow Scoped Application; Richard Romanus
Puppet ENC – a ServiceNow Scoped Application; Richard RomanusPuppet ENC – a ServiceNow Scoped Application; Richard Romanus
Puppet ENC – a ServiceNow Scoped Application; Richard Romanus
 
XPDS14: Efficient Interdomain Transmission of Performance Data - John Else, C...
XPDS14: Efficient Interdomain Transmission of Performance Data - John Else, C...XPDS14: Efficient Interdomain Transmission of Performance Data - John Else, C...
XPDS14: Efficient Interdomain Transmission of Performance Data - John Else, C...
 
The Conf 2019 - Elixir - Emerson Macedo
The Conf 2019 - Elixir - Emerson MacedoThe Conf 2019 - Elixir - Emerson Macedo
The Conf 2019 - Elixir - Emerson Macedo
 
What is Digital Rebar Provision (and how RackN extends)?
What is Digital Rebar Provision (and how RackN extends)?What is Digital Rebar Provision (and how RackN extends)?
What is Digital Rebar Provision (and how RackN extends)?
 
Introduction to RPKI by Sheryl (Shane) Hermoso
Introduction to RPKI by Sheryl (Shane) HermosoIntroduction to RPKI by Sheryl (Shane) Hermoso
Introduction to RPKI by Sheryl (Shane) Hermoso
 
Introduction to RPKI - MyNOG
Introduction to RPKI - MyNOGIntroduction to RPKI - MyNOG
Introduction to RPKI - MyNOG
 
Writing a Fullstack Application with Javascript - Remote media player
Writing a Fullstack Application with Javascript - Remote media playerWriting a Fullstack Application with Javascript - Remote media player
Writing a Fullstack Application with Javascript - Remote media player
 
Game server development in node.js in jsconf eu
Game server development in node.js in jsconf euGame server development in node.js in jsconf eu
Game server development in node.js in jsconf eu
 
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
 
사이드 프로젝트 빠르게 시작하기 by 제이제이
사이드 프로젝트 빠르게 시작하기 by 제이제이사이드 프로젝트 빠르게 시작하기 by 제이제이
사이드 프로젝트 빠르게 시작하기 by 제이제이
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
 
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
 
Choisir entre une API RPC, SOAP, REST, GraphQL? 
Et si le problème était ai...
Choisir entre une API  RPC, SOAP, REST, GraphQL?  
Et si le problème était ai...Choisir entre une API  RPC, SOAP, REST, GraphQL?  
Et si le problème était ai...
Choisir entre une API RPC, SOAP, REST, GraphQL? 
Et si le problème était ai...
 
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
 
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPFCilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
 
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPFCilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
 
HKNOG 7.0: RPKI - it's time to start deploying it
HKNOG 7.0: RPKI - it's time to start deploying itHKNOG 7.0: RPKI - it's time to start deploying it
HKNOG 7.0: RPKI - it's time to start deploying it
 
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Crowdpark architecture backend

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

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n