Software Praktikum (Advanced) Alexei Bratuhin Neighbourcast - - PowerPoint PPT Presentation

software praktikum advanced
SMART_READER_LITE
LIVE PREVIEW

Software Praktikum (Advanced) Alexei Bratuhin Neighbourcast - - PowerPoint PPT Presentation

Software Praktikum (Advanced) Alexei Bratuhin Neighbourcast Network Paradigm for MMORPGs Index MMORPG Neighbourcast Test Results MMORPG - Introduction MMORPG (Massively Multiplayer Online Player Game) online real-time allows players to


slide-1
SLIDE 1

Software Praktikum (Advanced)

Alexei Bratuhin

slide-2
SLIDE 2

Neighbourcast

Network Paradigm for MMORPGs

slide-3
SLIDE 3

Index

MMORPG Neighbourcast Test Results

slide-4
SLIDE 4

MMORPG - Introduction

MMORPG (Massively Multiplayer Online Player Game)

  • nline

real-time allows players to interact with other players explore the world develop their character/avatar extremely popular since broadband Internet millions of subscribers

slide-5
SLIDE 5

MMORPG - Architecture

Architecture Client / Server (World of Warcraft, Everquest) Thin Client Maintenance requires sufficient servers and bandwidth Commercial grade infrastructure requires ~100-1000 of servers Alternative Architecture P2P + Tracker Server Thick Client Each client requires broadband Internet access

slide-6
SLIDE 6

Neighbourcast - Introduction

A node possibly doesn't need information about every other node. maintain a list of neighbours send information to tracker server send information to "neighbours" only

slide-7
SLIDE 7

Neighbourcast - Overview

send status messages to all nodes from neighbour list with # forwarding hops = 0, if not moving # forwarding hops = 1, if moving proceed incoming messages if received message from node that is a neighbour and isn't in neighbourlist -> add node to neighbourlist if received message from node that isn't neighbour and is in neighbourlist -> remove node from neighbourlist check if graph is still connected if not, ask the server to build MST

slide-8
SLIDE 8

Neighbourcast - Problem

a-b-c-d-e-f a f | | b-c-d-e a f / \ b e \ / c -d If a chain, that is an MST itself, forms to build a circle, end nodes will never contain each

  • ther in their neighbourlist, althouhg being

within each other's range

slide-9
SLIDE 9

Neighbourcast - Enhancement

Logarithmic TTL Each messages is forwarded log(#Nodes) - #Neighbours times Probabilistic neighbour assignment if neighbour leaves range, remove it from neighbour list with probability PROB if not neighbour is not in range, add it to neighbour list with probability PROB PROB =1 - 1/max(t-(c-l), 1)

slide-10
SLIDE 10

Neighbourcast - Test Results

Neighbourcast small number of messages sent overall many MST builds (~at every step) small number of inconsistencies negligible number of errors

slide-11
SLIDE 11

Neighbourcast - Test Results

Neighbourcast with Logarithmic TTL small number of messages sent overall many MST builds (~1/2 of steps) small number of inconsistencies negligible number of errors

slide-12
SLIDE 12

Neighbourcast - Test Results

Neighbourcast with Probabilistic neighbour assignment highly parameter dependent few MST builds fewer inconsistencies fewer errors bad probability function

slide-13
SLIDE 13

Source Code

Source code available from http://kanji.googlecode.com/trunk/MMORPG