SlideShare une entreprise Scribd logo
1  sur  24
Multiplayer Online Games

over Scale-Free Networks:

    a Viable Solution?

             Gabriele D’Angelo
               <gda@cs.unibo.it>
        http://www.cs.unibo.it/gdangelo/


                 joint work with:
                Stefano Ferretti

        Torremolinos, Malaga (Spain)

   DIstributed SImulation & Online gaming (DISIO), 2010
Presentation outline

      Multiplayer Online Games: scalability and responsiveness

      MOGs: a peer-to-peer approach

      Scale-free networks

      Gossip protocols

      Performance evaluation: simulation-based

      Performance evaluation: metrics

      Experimental evaluation

      Conclusions and future work


Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   2
MOGs: scalability and responsiveness
      Scalability and responsiveness are open problems in
       Multiplayer Online Games (MOGs)

      Several architectures have been proposed to support MOGs:

              client/server

              mirrored servers

              peer-to-peer

      Given the distributed nature of this kind of applications, the
       dissemination of game events can be very costly

      Under the scalability viewpoint the peer-to-peer approach
       is very promising


Distributed Simulation and Online Gaming (DISIO) 2010    Gabriele D'Angelo   3
MOGs: a peer-to-peer approach
      Each peer locally manages its copy of the game state

      The peers are organized in some form of overlay network

      The dissemination of game events is obtained by passing
       messages through the overlay

      What is the best form of overlay?

              tree

              fully connected graph

              random graph

              scale-free network

Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   4
MOGs: a peer-to-peer approach
      Each peer locally manages its copy of the game state

      The peers are organized in some form of overlay network

      The dissemination of game events is obtained by passing
       messages through the overlay

      What is the best form of overlay?

              tree

              fully connected graph

              random graph

              scale-free network

Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   5
MOGs: a peer-to-peer approach
      Each peer locally manages its copy of the game state

      The peers are organized in some form of overlay network

      The dissemination of game events is obtained by passing
       messages through the overlay

      What is the best form of overlay?

              tree

              fully connected graph

              random graph

              scale-free network

Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   6
MOGs: a peer-to-peer approach
      Each peer locally manages its copy of the game state

      The peers are organized in some form of overlay network

      The dissemination of game events is obtained by passing
       messages through the overlay

      What is the best form of overlay?

              tree

              fully connected graph

              random graph

              scale-free network

Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   7
MOGs: a peer-to-peer approach
      Each peer locally manages its copy of the game state

      The peers are organized in some form of overlay network

      The dissemination of game events is obtained by passing
       messages through the overlay

      What is the best form of overlay?

              tree

              fully connected graph

              random graph

              scale-free network

Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   8
Scale-free networks: definition
      A graph can be used to represent a
       network and its connectivity

      Degree of a node = number of
       neighbor nodes attached to it

      A scale-free network has a degree
       distribution that follows a power law

      If pk is the probability that a node has
       a degree equal to k then: pk ~ k-α for
       some constant value α (usually: 2 < α < 3)
      Many examples in the real world: the Web, transmission of
       diseases, citation graphs, social networks interactions etc.

Distributed Simulation and Online Gaming (DISIO) 2010    Gabriele D'Angelo   9
Scale-free networks: properties
                   This means:

                           a few highly connected nodes (hubs)

                           a very large number of nodes with a few
                            connections

                           networks with a very small diameter



                                                        2.5


     For example:                                       2




              with 2 < α < 3
                                                        1.5
      
                                                         1


              the diameter of a network
                                                        0.5


              with N nodes is ~ ln ln (N)                0

Distributed Simulation and Online Gaming (DISIO) 2010             Gabriele D'Angelo   10
Scale-free networks for MOGs
      Our proposal is to implement MOGs using a peer-to-peer
       architecture that is partially “unstructured” and “spontaneous”

      Some properties of scale-free networks (such as the
       diameter) can be very valuable in supporting scalability and
       responsiveness

      In our view, the dissemination of game events will be
       obtained through probabilistic approaches, for example using
       gossip protocols

      The game events generated at peers are disseminated to the
       whole network, using very simple gossip protocols and
       without any form of centralization or predefined routing


Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   11
Gossip protocol #1: probabilistic broadcast
      If the message is locally                                 ALGORITHM
       generated then it is broadcasted                 function INITIALIZATION()
       to all neighbors, otherwise it is                pb ← PROBABILITY_BROADCAST()
       decided at random if it will be
       broadcasted or ignored
                                                        function GOSSIP(msg)
PARAMETERS:
                                                        if   (RANDOM() < pb or
      pb = probability to broadcast a message               FIRST_TRANSMISSION())
                                                             then

                                                                 for all nj in Πj do

ADDITIONAL MECHANISMS:                                                     SEND(msg, nj)

      time to live (ttl) in each message                        end for

                                                        end if
      local cache in each node

Distributed Simulation and Online Gaming (DISIO) 2010                  Gabriele D'Angelo   12
Gossip protocol #2: fixed probability
      For each received message, the                        ALGORITHM
       node randomly selects those edges
       through which the message must
                                                        function INITIALIZATION()
       be propagated
                                                        v ← CHOOSE_PROBABILITY()
PARAMETERS:

      v = threshold value                              function GOSSIP(msg)

                                                        for all nj in Πj do

                                                           if RANDOM() < v then

                                                                  SEND(msg, nj)

ADDITIONAL MECHANISMS:                                     end if

                                                        end for
      time to live (ttl) in each message

      local cache in each node

Distributed Simulation and Online Gaming (DISIO) 2010               Gabriele D'Angelo   13
Gossip protocol #3: fixed fanout
      Each message is sent only to a                            ALGORITHM
       limited number of nodes, the                     function INITIALIZATION()
       receivers are selected at random                 fanout ← RETRIEVE_FANOUT()

       among the neighbors
                                                        function GOSSIP(msg)

                                                        if   fanout ≥ |Πj| then
PARAMETERS:                                                  toSend ← Πj
      fanout = total number of receivers               else

                                                             SELECT_NODES()

                                                        end if

ADDITIONAL MECHANISMS:                                  for all nj in toSend do

      time to live (ttl) in each message                    SEND(msg, nj)

                                                        end for
      local cache in each node

Distributed Simulation and Online Gaming (DISIO) 2010               Gabriele D'Angelo   14
Performance evaluation: simulation-based
      The following performance evaluation is based on simulation

      New features implemented in the Parallel and distributed Scale-
       free network Simulator (PaScaS): http://pads.cs.unibo.it

                         Parameter                                  Value
  number of nodes                                                    0-500
  message generation                                        exponential distribution
                                                            mean = 50 time-steps
  cache size (local to each node)                                  256 slots
  message Time To Live (ttl)                                           6
  probability of dissemination (v)                       0.5, 0.8, 1 (i.e. 50-80-100%)
  fanout value                                                  5 (# of nodes)
  probability of broadcast (pb)                          0.5, 0.8, 1 (i.e. 50-80-100%)
  simulated time (gaming time)                          1000 time-steps (after building)

Distributed Simulation and Online Gaming (DISIO) 2010                      Gabriele D'Angelo   15
Performance evaluation: metrics
      Coverage

              percentage of nodes that have received all the messages
               that have been produced during the whole game execution
                               “are the game events received by all gamers?”

      Delay

              average number of hops (that is time-steps) necessary to
               receive a message after its creation
                               “is the data dissemination really responsive?”

      Messages

              total number of messages routed in the game execution
                               “what is the overhead due to the events dissemination?”
Distributed Simulation and Online Gaming (DISIO) 2010                           Gabriele D'Angelo   16
Evaluation: coverage rate (%)




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   17
Evaluation: number of hops




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   18
Evaluation: total number of messages




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   19
Evaluation: coverage rate (%)




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   20
Evaluation: number of hops




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   21
Evaluation: total number of messages




Distributed Simulation and Online Gaming (DISIO) 2010   Gabriele D'Angelo   22
Conclusions and Future work
      The low diameter of scale-free networks is very good for
       fast data dissemination

      Common gossip protocols are unable to disseminate the whole
       event trace and their overhead is very high

      Simple mechanisms such as caching of packets, ttl and
       protocols tweaking are quite ineffective or with limited
       impact on performances (e.g. # of routed messages)

      Smarter protocols are necessary:

              push / pull approaches for data dissemination

              adaptive protocols and behaviors

              more information shared among network nodes
Distributed Simulation and Online Gaming (DISIO) 2010      Gabriele D'Angelo   23
Multiplayer Online Games

over Scale-Free Networks:

    a Viable Solution?

Contenu connexe

Tendances

S.a.kalaiselvan udrpg dynamic key management based node
S.a.kalaiselvan   udrpg dynamic key management based nodeS.a.kalaiselvan   udrpg dynamic key management based node
S.a.kalaiselvan udrpg dynamic key management based nodekalaiselvanresearch
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Simplilearn
 
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIES
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIESA NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIES
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIESIJNSA Journal
 
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDS
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDSHYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDS
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDSIJNSA Journal
 
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSNEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSijnlc
 
Network coding combined with onion routing for anonymous and secure communica...
Network coding combined with onion routing for anonymous and secure communica...Network coding combined with onion routing for anonymous and secure communica...
Network coding combined with onion routing for anonymous and secure communica...IJCNCJournal
 
Simulation of snooze attack in leach
Simulation of snooze attack in leachSimulation of snooze attack in leach
Simulation of snooze attack in leachcsandit
 
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSNEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSkevig
 
Lattice based Merkle for post-quantum epoch
Lattice based Merkle for post-quantum epochLattice based Merkle for post-quantum epoch
Lattice based Merkle for post-quantum epochDefCamp
 
2012.09.25 - Local and non-metric similarities between images - why, how and ...
2012.09.25 - Local and non-metric similarities between images - why, how and ...2012.09.25 - Local and non-metric similarities between images - why, how and ...
2012.09.25 - Local and non-metric similarities between images - why, how and ...Frédéric Morain-Nicolier
 
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael Cipher
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael CipherNeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael Cipher
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael CipherSagun Man Singh Shrestha
 
A Game Theoretic Framework for Heterogenous Information Network Clustering
A Game Theoretic Framework for Heterogenous Information Network ClusteringA Game Theoretic Framework for Heterogenous Information Network Clustering
A Game Theoretic Framework for Heterogenous Information Network ClusteringFaris Alqadah
 

Tendances (17)

D1103023339
D1103023339D1103023339
D1103023339
 
S.a.kalaiselvan udrpg dynamic key management based node
S.a.kalaiselvan   udrpg dynamic key management based nodeS.a.kalaiselvan   udrpg dynamic key management based node
S.a.kalaiselvan udrpg dynamic key management based node
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
 
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIES
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIESA NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIES
A NOVEL SECURE COSINE SIMILARITY COMPUTATION SCHEME WITH MALICIOUS ADVERSARIES
 
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDS
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDSHYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDS
HYBRIDIZATION OF DCT BASED STEGANOGRAPHY AND RANDOM GRIDS
 
Recurrent neural network
Recurrent neural networkRecurrent neural network
Recurrent neural network
 
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSNEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
 
Network coding combined with onion routing for anonymous and secure communica...
Network coding combined with onion routing for anonymous and secure communica...Network coding combined with onion routing for anonymous and secure communica...
Network coding combined with onion routing for anonymous and secure communica...
 
Simulation of snooze attack in leach
Simulation of snooze attack in leachSimulation of snooze attack in leach
Simulation of snooze attack in leach
 
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONSNEURAL DISCOURSE MODELLING OF CONVERSATIONS
NEURAL DISCOURSE MODELLING OF CONVERSATIONS
 
Lattice based Merkle for post-quantum epoch
Lattice based Merkle for post-quantum epochLattice based Merkle for post-quantum epoch
Lattice based Merkle for post-quantum epoch
 
D0412032038
D0412032038D0412032038
D0412032038
 
Lec10new
Lec10newLec10new
Lec10new
 
rnn BASICS
rnn BASICSrnn BASICS
rnn BASICS
 
2012.09.25 - Local and non-metric similarities between images - why, how and ...
2012.09.25 - Local and non-metric similarities between images - why, how and ...2012.09.25 - Local and non-metric similarities between images - why, how and ...
2012.09.25 - Local and non-metric similarities between images - why, how and ...
 
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael Cipher
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael CipherNeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael Cipher
NeuroCrypto: C++ Implementation of Neural Cryptography with Rijndael Cipher
 
A Game Theoretic Framework for Heterogenous Information Network Clustering
A Game Theoretic Framework for Heterogenous Information Network ClusteringA Game Theoretic Framework for Heterogenous Information Network Clustering
A Game Theoretic Framework for Heterogenous Information Network Clustering
 

En vedette

सुख-दुख
सुख-दुखसुख-दुख
सुख-दुखvijeendracu
 
euler characteristic theorem
euler characteristic theoremeuler characteristic theorem
euler characteristic theoremJeneva Clark
 
Isolation Lemma for Directed Reachability and NL vs. L
Isolation Lemma for Directed Reachability and NL vs. LIsolation Lemma for Directed Reachability and NL vs. L
Isolation Lemma for Directed Reachability and NL vs. Lcseiitgn
 
Impacthiringhowdatawilltransformyouthemployment 151222142209
Impacthiringhowdatawilltransformyouthemployment 151222142209Impacthiringhowdatawilltransformyouthemployment 151222142209
Impacthiringhowdatawilltransformyouthemployment 151222142209John Stinnett
 
Advance LISP (Artificial Intelligence)
Advance LISP (Artificial Intelligence) Advance LISP (Artificial Intelligence)
Advance LISP (Artificial Intelligence) wahab khan
 
Dynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and ComplexityDynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and Complexitycseiitgn
 
Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful oGuild .
 
fluig Fórum Serviços #2 - Integração do fluig com o Protheus
fluig Fórum Serviços #2 - Integração do fluig com o Protheusfluig Fórum Serviços #2 - Integração do fluig com o Protheus
fluig Fórum Serviços #2 - Integração do fluig com o ProtheusFluig
 
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?Fluig
 

En vedette (19)

F
FF
F
 
सुख-दुख
सुख-दुखसुख-दुख
सुख-दुख
 
euler characteristic theorem
euler characteristic theoremeuler characteristic theorem
euler characteristic theorem
 
CNUNE Summit George Proakis
CNUNE Summit George ProakisCNUNE Summit George Proakis
CNUNE Summit George Proakis
 
Yourprezi
YourpreziYourprezi
Yourprezi
 
Isolation Lemma for Directed Reachability and NL vs. L
Isolation Lemma for Directed Reachability and NL vs. LIsolation Lemma for Directed Reachability and NL vs. L
Isolation Lemma for Directed Reachability and NL vs. L
 
June19_PMINJ LCI_v0.2
June19_PMINJ LCI_v0.2June19_PMINJ LCI_v0.2
June19_PMINJ LCI_v0.2
 
Matriculation Certificate
Matriculation CertificateMatriculation Certificate
Matriculation Certificate
 
Impacthiringhowdatawilltransformyouthemployment 151222142209
Impacthiringhowdatawilltransformyouthemployment 151222142209Impacthiringhowdatawilltransformyouthemployment 151222142209
Impacthiringhowdatawilltransformyouthemployment 151222142209
 
Basic lisp
Basic lispBasic lisp
Basic lisp
 
Advance LISP (Artificial Intelligence)
Advance LISP (Artificial Intelligence) Advance LISP (Artificial Intelligence)
Advance LISP (Artificial Intelligence)
 
testing
testingtesting
testing
 
Dynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and ComplexityDynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and Complexity
 
Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful
 
descon cretificate
descon  cretificatedescon  cretificate
descon cretificate
 
fluig Fórum Serviços #2 - Integração do fluig com o Protheus
fluig Fórum Serviços #2 - Integração do fluig com o Protheusfluig Fórum Serviços #2 - Integração do fluig com o Protheus
fluig Fórum Serviços #2 - Integração do fluig com o Protheus
 
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?
fluig Webinar #9 - Como produzir mais e melhor com os mesmos recursos?
 
Housing and planning slides
Housing and planning slidesHousing and planning slides
Housing and planning slides
 
Rail Directions Workshop: Transport NSW
Rail Directions Workshop: Transport NSWRail Directions Workshop: Transport NSW
Rail Directions Workshop: Transport NSW
 

Similaire à Multiplayer Online Games over Scale-Free Networks: a Viable Solution?

Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free NetworksGabriele D'Angelo
 
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019Alberto Massidda - Scenes from a memory - Codemotion Rome 2019
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019Codemotion
 
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...Artem Lutov
 
Gdc 14 bringing unreal engine 4 to open_gl
Gdc 14 bringing unreal engine 4 to open_glGdc 14 bringing unreal engine 4 to open_gl
Gdc 14 bringing unreal engine 4 to open_glchangehee lee
 
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
DIANNE - A distributed deep learning framework on OSGi - Tim VerbelenDIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelenmfrancis
 
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low Latency
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low LatencyTowards Fog-Assisted Virtual Reality MMOG with Ultra-Low Latency
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low LatencyIJCNCJournal
 
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...xlcloud
 
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetup
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetupLucas Theis - Compressing Images with Neural Networks - Creative AI meetup
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetupLuba Elliott
 
Introduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowIntroduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowOswald Campesato
 
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...Mattia Campana
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep LearningOswald Campesato
 
OpenGL ES based UI Development on TI Platforms
OpenGL ES based UI Development on TI PlatformsOpenGL ES based UI Development on TI Platforms
OpenGL ES based UI Development on TI PlatformsPrabindh Sundareson
 
CS 354 Pixel Updating
CS 354 Pixel UpdatingCS 354 Pixel Updating
CS 354 Pixel UpdatingMark Kilgard
 
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...ssuser4b1f48
 
Blockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationBlockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationJun Furuse
 
Porting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons LearnedPorting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons Learnedbasisspace
 

Similaire à Multiplayer Online Games over Scale-Free Networks: a Viable Solution? (20)

Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free Networks
 
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019Alberto Massidda - Scenes from a memory - Codemotion Rome 2019
Alberto Massidda - Scenes from a memory - Codemotion Rome 2019
 
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...
DAOR - Bridging the Gap between Community and Node Representations: Graph Emb...
 
Time Warp on the Go
Time Warp on the GoTime Warp on the Go
Time Warp on the Go
 
Gdc 14 bringing unreal engine 4 to open_gl
Gdc 14 bringing unreal engine 4 to open_glGdc 14 bringing unreal engine 4 to open_gl
Gdc 14 bringing unreal engine 4 to open_gl
 
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
DIANNE - A distributed deep learning framework on OSGi - Tim VerbelenDIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
 
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low Latency
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low LatencyTowards Fog-Assisted Virtual Reality MMOG with Ultra-Low Latency
Towards Fog-Assisted Virtual Reality MMOG with Ultra-Low Latency
 
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...
OW2con'14 - XLcoud, 3D rendering in the cloud, Marius Preda, Institut Mines T...
 
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetup
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetupLucas Theis - Compressing Images with Neural Networks - Creative AI meetup
Lucas Theis - Compressing Images with Neural Networks - Creative AI meetup
 
Introduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowIntroduction to Deep Learning and Tensorflow
Introduction to Deep Learning and Tensorflow
 
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...
Context-Aware Configuration and Management of WiFi Direct Groups for Real Opp...
 
DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep Learning
 
OpenGL ES based UI Development on TI Platforms
OpenGL ES based UI Development on TI PlatformsOpenGL ES based UI Development on TI Platforms
OpenGL ES based UI Development on TI Platforms
 
CS 354 Pixel Updating
CS 354 Pixel UpdatingCS 354 Pixel Updating
CS 354 Pixel Updating
 
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...
NS-CUK Seminar: V.T.Hoang, Review on "GOAT: A Global Transformer on Large-sca...
 
SEGAN: Speech Enhancement Generative Adversarial Network
SEGAN: Speech Enhancement Generative Adversarial NetworkSEGAN: Speech Enhancement Generative Adversarial Network
SEGAN: Speech Enhancement Generative Adversarial Network
 
Blockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationBlockchain and Smart Contract Simulation
Blockchain and Smart Contract Simulation
 
Porting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons LearnedPorting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons Learned
 
Angular and Deep Learning
Angular and Deep LearningAngular and Deep Learning
Angular and Deep Learning
 

Plus de Gabriele D'Angelo

A Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management AlgorithmA Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management AlgorithmGabriele D'Angelo
 
Parallel and Distributed Simulation from Many Cores to the Public Cloud
Parallel and Distributed Simulation from Many Cores to the Public CloudParallel and Distributed Simulation from Many Cores to the Public Cloud
Parallel and Distributed Simulation from Many Cores to the Public CloudGabriele D'Angelo
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions Gabriele D'Angelo
 
Proximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile SystemsProximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile SystemsGabriele D'Angelo
 
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...Parallel and Distributed Simulation of Coalition Structure Generation in Coop...
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...Gabriele D'Angelo
 
Detailed Simulation of Large-Scale Wireless Networks
Detailed Simulation of Large-Scale Wireless NetworksDetailed Simulation of Large-Scale Wireless Networks
Detailed Simulation of Large-Scale Wireless NetworksGabriele D'Angelo
 
An Adaptive Load Balancing Middleware for Distributed Simulation
An Adaptive Load Balancing Middleware for Distributed SimulationAn Adaptive Load Balancing Middleware for Distributed Simulation
An Adaptive Load Balancing Middleware for Distributed SimulationGabriele D'Angelo
 
Concurrent Replication of Parallel and Distributed Simulations
Concurrent Replication of Parallel and Distributed SimulationsConcurrent Replication of Parallel and Distributed Simulations
Concurrent Replication of Parallel and Distributed SimulationsGabriele D'Angelo
 

Plus de Gabriele D'Angelo (8)

A Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management AlgorithmA Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management Algorithm
 
Parallel and Distributed Simulation from Many Cores to the Public Cloud
Parallel and Distributed Simulation from Many Cores to the Public CloudParallel and Distributed Simulation from Many Cores to the Public Cloud
Parallel and Distributed Simulation from Many Cores to the Public Cloud
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions
 
Proximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile SystemsProximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile Systems
 
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...Parallel and Distributed Simulation of Coalition Structure Generation in Coop...
Parallel and Distributed Simulation of Coalition Structure Generation in Coop...
 
Detailed Simulation of Large-Scale Wireless Networks
Detailed Simulation of Large-Scale Wireless NetworksDetailed Simulation of Large-Scale Wireless Networks
Detailed Simulation of Large-Scale Wireless Networks
 
An Adaptive Load Balancing Middleware for Distributed Simulation
An Adaptive Load Balancing Middleware for Distributed SimulationAn Adaptive Load Balancing Middleware for Distributed Simulation
An Adaptive Load Balancing Middleware for Distributed Simulation
 
Concurrent Replication of Parallel and Distributed Simulations
Concurrent Replication of Parallel and Distributed SimulationsConcurrent Replication of Parallel and Distributed Simulations
Concurrent Replication of Parallel and Distributed Simulations
 

Dernier

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 

Dernier (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 

Multiplayer Online Games over Scale-Free Networks: a Viable Solution?

  • 1. Multiplayer Online Games over Scale-Free Networks: a Viable Solution? Gabriele D’Angelo <gda@cs.unibo.it> http://www.cs.unibo.it/gdangelo/ joint work with: Stefano Ferretti Torremolinos, Malaga (Spain) DIstributed SImulation & Online gaming (DISIO), 2010
  • 2. Presentation outline  Multiplayer Online Games: scalability and responsiveness  MOGs: a peer-to-peer approach  Scale-free networks  Gossip protocols  Performance evaluation: simulation-based  Performance evaluation: metrics  Experimental evaluation  Conclusions and future work Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 2
  • 3. MOGs: scalability and responsiveness  Scalability and responsiveness are open problems in Multiplayer Online Games (MOGs)  Several architectures have been proposed to support MOGs:  client/server  mirrored servers  peer-to-peer  Given the distributed nature of this kind of applications, the dissemination of game events can be very costly  Under the scalability viewpoint the peer-to-peer approach is very promising Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 3
  • 4. MOGs: a peer-to-peer approach  Each peer locally manages its copy of the game state  The peers are organized in some form of overlay network  The dissemination of game events is obtained by passing messages through the overlay  What is the best form of overlay?  tree  fully connected graph  random graph  scale-free network Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 4
  • 5. MOGs: a peer-to-peer approach  Each peer locally manages its copy of the game state  The peers are organized in some form of overlay network  The dissemination of game events is obtained by passing messages through the overlay  What is the best form of overlay?  tree  fully connected graph  random graph  scale-free network Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 5
  • 6. MOGs: a peer-to-peer approach  Each peer locally manages its copy of the game state  The peers are organized in some form of overlay network  The dissemination of game events is obtained by passing messages through the overlay  What is the best form of overlay?  tree  fully connected graph  random graph  scale-free network Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 6
  • 7. MOGs: a peer-to-peer approach  Each peer locally manages its copy of the game state  The peers are organized in some form of overlay network  The dissemination of game events is obtained by passing messages through the overlay  What is the best form of overlay?  tree  fully connected graph  random graph  scale-free network Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 7
  • 8. MOGs: a peer-to-peer approach  Each peer locally manages its copy of the game state  The peers are organized in some form of overlay network  The dissemination of game events is obtained by passing messages through the overlay  What is the best form of overlay?  tree  fully connected graph  random graph  scale-free network Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 8
  • 9. Scale-free networks: definition  A graph can be used to represent a network and its connectivity  Degree of a node = number of neighbor nodes attached to it  A scale-free network has a degree distribution that follows a power law  If pk is the probability that a node has a degree equal to k then: pk ~ k-α for some constant value α (usually: 2 < α < 3)  Many examples in the real world: the Web, transmission of diseases, citation graphs, social networks interactions etc. Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 9
  • 10. Scale-free networks: properties  This means:  a few highly connected nodes (hubs)  a very large number of nodes with a few connections  networks with a very small diameter 2.5  For example: 2 with 2 < α < 3 1.5  1 the diameter of a network 0.5 with N nodes is ~ ln ln (N) 0 Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 10
  • 11. Scale-free networks for MOGs  Our proposal is to implement MOGs using a peer-to-peer architecture that is partially “unstructured” and “spontaneous”  Some properties of scale-free networks (such as the diameter) can be very valuable in supporting scalability and responsiveness  In our view, the dissemination of game events will be obtained through probabilistic approaches, for example using gossip protocols  The game events generated at peers are disseminated to the whole network, using very simple gossip protocols and without any form of centralization or predefined routing Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 11
  • 12. Gossip protocol #1: probabilistic broadcast  If the message is locally ALGORITHM generated then it is broadcasted function INITIALIZATION() to all neighbors, otherwise it is pb ← PROBABILITY_BROADCAST() decided at random if it will be broadcasted or ignored function GOSSIP(msg) PARAMETERS: if (RANDOM() < pb or  pb = probability to broadcast a message FIRST_TRANSMISSION()) then for all nj in Πj do ADDITIONAL MECHANISMS: SEND(msg, nj)  time to live (ttl) in each message end for end if  local cache in each node Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 12
  • 13. Gossip protocol #2: fixed probability  For each received message, the ALGORITHM node randomly selects those edges through which the message must function INITIALIZATION() be propagated v ← CHOOSE_PROBABILITY() PARAMETERS:  v = threshold value function GOSSIP(msg) for all nj in Πj do if RANDOM() < v then SEND(msg, nj) ADDITIONAL MECHANISMS: end if end for  time to live (ttl) in each message  local cache in each node Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 13
  • 14. Gossip protocol #3: fixed fanout  Each message is sent only to a ALGORITHM limited number of nodes, the function INITIALIZATION() receivers are selected at random fanout ← RETRIEVE_FANOUT() among the neighbors function GOSSIP(msg) if fanout ≥ |Πj| then PARAMETERS: toSend ← Πj  fanout = total number of receivers else SELECT_NODES() end if ADDITIONAL MECHANISMS: for all nj in toSend do  time to live (ttl) in each message SEND(msg, nj) end for  local cache in each node Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 14
  • 15. Performance evaluation: simulation-based  The following performance evaluation is based on simulation  New features implemented in the Parallel and distributed Scale- free network Simulator (PaScaS): http://pads.cs.unibo.it Parameter Value number of nodes 0-500 message generation exponential distribution mean = 50 time-steps cache size (local to each node) 256 slots message Time To Live (ttl) 6 probability of dissemination (v) 0.5, 0.8, 1 (i.e. 50-80-100%) fanout value 5 (# of nodes) probability of broadcast (pb) 0.5, 0.8, 1 (i.e. 50-80-100%) simulated time (gaming time) 1000 time-steps (after building) Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 15
  • 16. Performance evaluation: metrics  Coverage  percentage of nodes that have received all the messages that have been produced during the whole game execution “are the game events received by all gamers?”  Delay  average number of hops (that is time-steps) necessary to receive a message after its creation “is the data dissemination really responsive?”  Messages  total number of messages routed in the game execution “what is the overhead due to the events dissemination?” Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 16
  • 17. Evaluation: coverage rate (%) Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 17
  • 18. Evaluation: number of hops Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 18
  • 19. Evaluation: total number of messages Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 19
  • 20. Evaluation: coverage rate (%) Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 20
  • 21. Evaluation: number of hops Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 21
  • 22. Evaluation: total number of messages Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 22
  • 23. Conclusions and Future work  The low diameter of scale-free networks is very good for fast data dissemination  Common gossip protocols are unable to disseminate the whole event trace and their overhead is very high  Simple mechanisms such as caching of packets, ttl and protocols tweaking are quite ineffective or with limited impact on performances (e.g. # of routed messages)  Smarter protocols are necessary:  push / pull approaches for data dissemination  adaptive protocols and behaviors  more information shared among network nodes Distributed Simulation and Online Gaming (DISIO) 2010 Gabriele D'Angelo 23
  • 24. Multiplayer Online Games over Scale-Free Networks: a Viable Solution?