SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
KAKARANET
         Social Gaming



Maxim Sokhatsky maxim@synrc.com
Technical Input
       How modern portal should looks like ?

●
    Active Fast Comet Pages
●
    High-load Ready
●
    Reliability and Failover
●
    Ditribution for Speed
●
    Monitoring tools
●
    Facebook-like facilities and integration
●
    Simple and small time-to-market
●
    Single Environment
Underlying Products
                        Quick and Well strategy

    Riak                      RabbitMQ                 GProc
●
    High Availability     ●
                              Connecting People    ●
                                                       Distributed In-
●   Monitoring Tools      ●
                              Deliver Messages         memory database
●   Best In-class         ●
                              Invented in Banks    ●
                                                       Consistent
●   Stable                ●
                              Language Opaque      ●
                                                       Complex Queries
●   Manageable            ●
                              Fast

    Nitrogen                  Cowboy                   Erlang
●
    Best Comet Server     ●
                              Fastest Web Server   ●
                                                       Automatic Fail-over
●
    Clustered             ●
                              SSL Ready            ●
                                                       Purity of code
●
    Typed HTML            ●
                              Modular              ●
                                                       High Reliability
●
    Rich JavaScript       ●
                              Young but stable     ●
                                                       High Load
●
    Easy to Develop                                ●
                                                       Mature Infrastructure
●
    Event driven
Social Web Application
                   Simple but modern

●
    Users and Groups        ●
                                Friends
●
    Free to register        ●
                                Likes
●   Direct Messages         ●
                                Feeds

●
    Media Files as Attachments, Music, Video
●
    Drop-down Auto-completion
●   Comet Pages with Rich JavaScript
●   Pub/Sub key-routing with RabbitMQ
Game Server Nodes
                Easy to Write new games

●
    AMF listeners and Flex Clients
●
    Tables, Games, Tournaments model
●
    Access to Riak and GProc databases
●
    Matching Players Each Other in ranges
●
    Global Registry of all games in Cluster
●
    Persist Game Data
●
    40KB per game on server-side
Sequential Consistency
                     Guard Processes
●
    All entities that could   ●
                                  Back-end Workers for
    be changed controlled         ordering write
    by Erlang Process             requests in RabbitMQ
    spawn on bootstrap            queues
●
    Respawn on failover on    ●
                                  All read operations still
    another node                  available for anyone in
                                  cluster


●
    Examples: Feeds, Users, Groups, Lists
Cluster Levels
         Diferrent Tasks Require Different Clusters

    Database                      Memory
●
    Riak is present in        ●
                                  Each Process
    each node in cluster          registered in global
                                  database
    Filesystem                    Routing
●
    GlusterFS on each         ●
                                  Clustered RabbitMQ
    server                        to handle routing
Cluster Line
                 Erlang/OTP Releases per OS

    app@srv1                      game@srv1
●
    Workers                   ●
                                  Games
●
    Riak R/W                  ●
                                  Riak R/O
●
    GProc                     ●
                                  GProc


    rabbit@srv1                   web@srv1
●
    RabbitMQ                  ●
                                  Nitrogen
●
    Routing Databse           ●
                                  Riak R/O
                              ●
                                  Gproc
                              ●
                                  Cowboy
Three Production Lines
            Continue running after single server down

    SRV1                      SRV2                      SRV3
●
    app@srv1 node         ●
                              app@srv2 node         ●
                                                        app@srv3 node
●
    game@srv1 node        ●
                              game@srv2 node        ●
                                                        game@srv3 node
●
    web@srv1 node         ●
                              web@srv2 node         ●
                                                        web@srv3 node
●
    rabbit@srv1 node      ●
                              rabbit@srv2 node      ●
                                                        rabbit@srv3 node
●
    SNMP Agent / node     ●
                              SNMP Agent / node     ●
                                                        SNMP Agent / node
●
    Riak Control / node   ●
                              Riak Control / node   ●
                                                        Riak Control / node
●
    8x Xeon 3GHz          ●
                              8x Xeon 3GHz          ●
                                                        8x Xeon 3GHz
●
    30GB RAM              ●
                              30GB RAM              ●
                                                        30GB RAM
●
    512GB SSD             ●
                              512GB SSD             ●
                                                        512GB SSD
●
    3TB RAID              ●
                              3TB RAID              ●
                                                        3TB RAID

Contenu connexe

En vedette

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

En vedette (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Kakaranet quick and well

  • 1. KAKARANET Social Gaming Maxim Sokhatsky maxim@synrc.com
  • 2. Technical Input How modern portal should looks like ? ● Active Fast Comet Pages ● High-load Ready ● Reliability and Failover ● Ditribution for Speed ● Monitoring tools ● Facebook-like facilities and integration ● Simple and small time-to-market ● Single Environment
  • 3. Underlying Products Quick and Well strategy Riak RabbitMQ GProc ● High Availability ● Connecting People ● Distributed In- ● Monitoring Tools ● Deliver Messages memory database ● Best In-class ● Invented in Banks ● Consistent ● Stable ● Language Opaque ● Complex Queries ● Manageable ● Fast Nitrogen Cowboy Erlang ● Best Comet Server ● Fastest Web Server ● Automatic Fail-over ● Clustered ● SSL Ready ● Purity of code ● Typed HTML ● Modular ● High Reliability ● Rich JavaScript ● Young but stable ● High Load ● Easy to Develop ● Mature Infrastructure ● Event driven
  • 4. Social Web Application Simple but modern ● Users and Groups ● Friends ● Free to register ● Likes ● Direct Messages ● Feeds ● Media Files as Attachments, Music, Video ● Drop-down Auto-completion ● Comet Pages with Rich JavaScript ● Pub/Sub key-routing with RabbitMQ
  • 5. Game Server Nodes Easy to Write new games ● AMF listeners and Flex Clients ● Tables, Games, Tournaments model ● Access to Riak and GProc databases ● Matching Players Each Other in ranges ● Global Registry of all games in Cluster ● Persist Game Data ● 40KB per game on server-side
  • 6. Sequential Consistency Guard Processes ● All entities that could ● Back-end Workers for be changed controlled ordering write by Erlang Process requests in RabbitMQ spawn on bootstrap queues ● Respawn on failover on ● All read operations still another node available for anyone in cluster ● Examples: Feeds, Users, Groups, Lists
  • 7. Cluster Levels Diferrent Tasks Require Different Clusters Database Memory ● Riak is present in ● Each Process each node in cluster registered in global database Filesystem Routing ● GlusterFS on each ● Clustered RabbitMQ server to handle routing
  • 8. Cluster Line Erlang/OTP Releases per OS app@srv1 game@srv1 ● Workers ● Games ● Riak R/W ● Riak R/O ● GProc ● GProc rabbit@srv1 web@srv1 ● RabbitMQ ● Nitrogen ● Routing Databse ● Riak R/O ● Gproc ● Cowboy
  • 9. Three Production Lines Continue running after single server down SRV1 SRV2 SRV3 ● app@srv1 node ● app@srv2 node ● app@srv3 node ● game@srv1 node ● game@srv2 node ● game@srv3 node ● web@srv1 node ● web@srv2 node ● web@srv3 node ● rabbit@srv1 node ● rabbit@srv2 node ● rabbit@srv3 node ● SNMP Agent / node ● SNMP Agent / node ● SNMP Agent / node ● Riak Control / node ● Riak Control / node ● Riak Control / node ● 8x Xeon 3GHz ● 8x Xeon 3GHz ● 8x Xeon 3GHz ● 30GB RAM ● 30GB RAM ● 30GB RAM ● 512GB SSD ● 512GB SSD ● 512GB SSD ● 3TB RAID ● 3TB RAID ● 3TB RAID