SlideShare uma empresa Scribd logo
1 de 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?

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

सुख-दुख
सुख-दुखसुख-दुख
सुख-दुख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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Mais 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
 

Mais 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
 

Último

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
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
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
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
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Último (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
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
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

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?