1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu CSIE, National Central University, Taiwan 2008/06/03.

Slides:



Advertisements
Similar presentations
Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Advertisements

SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Some Open Problems in Publish/Subscribe Networking David S. Rosenblum Chief Technology Officer PreCache Inc.
X stream Project proposal. Project goals: Students Students: Academic Supervisor Academic Supervisor: Advisors: Developing and Implementing a large scale.
Towards Autonomic Adaptive Scaling of General Purpose Virtual Worlds Deploying a large-scale OpenSim grid using OpenStack cloud infrastructure and Chef.
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
1 Herald: Achieving a Global Event Notification Service Luis Felipe Cabrera, Michael B. Jones, Marvin Theimer Microsoft Research.
Peer-to-Peer Support for Massively Multiplayer Games Bjorn Knutsson, Honghui Lu, Wei Xu, Bryan Hopkins Presented by Mohammed Alam (Shahed)
Business Continuity and DR, A Practical Implementation Mich Talebzadeh, Consultant, Deutsche Bank
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
M ERCURY : A Scalable Publish-Subscribe System for Internet Games Ashwin R. Bharambe, Sanjay Rao & Srinivasan Seshan Carnegie Mellon University.
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
Distributed Systems and the WWW Extending the Capability of Massively Multiplayer Online Games by Introducing Distributed Systems as World Servers Jason.
Peer-to-Peer 3D Streaming ACM Multimedia 2007 submission Presenter: Shun-Yun Hu ( 胡舜元 ) Adaptive Computing and Network Lab Dept. of CSIE,
1 AINA 2006 Wien, April th 2006 DiVES: A DISTRIBUTED SUPPORT FOR NETWORKED VIRTUAL ENVIRONMENTS The IEEE 20th International Conference on Advanced.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2008/05/08.
P2P-based Simulator for Protein Folding Shun-Yun Hu 2005/06/03.
1 Enhancing Neighborship Consistency for Peer-to-Peer Distributed Virtual Environments Jehn-Ruey Jiang, Jiun-Shiang Chiou and Shun-Yun Hu Department of.
Hierarchical P2P Overlays for DVE: An Additively Weighted Voronoi Based Approach Michele Albano Luca Genovali Laura Ricci HIERARCHICAL P2P OVERLAYS FOR.
.NET Mobile Application Development Introduction to Mobile and Distributed Applications.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Online Gaming (for virtual living). Objectives – Understand the business related to online gaming works – Realise how online games are managed – Have.
Basic Concepts of Computer Networks
Freenet. Anonymity  Napster, Gnutella, Kazaa do not provide anonymity  Users know who they are downloading from  Others know who sent a query  Freenet.
1 Proceeding the Second Exercises on Computer and Systems Engineering Professor OKAMURA Laboratory. Othman Othman M.M.
Word Wide Cache Distributed Caching for the Distributed Enterprise.
A Navigation Mesh for Dynamic Environments Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts CASA 2012.
Cluster and Grid Computing Lab, Huazhong University of Science and Technology, Wuhan, China Supporting VCR Functions in P2P VoD Services Using Ring-Assisted.
Ao-Jan Su, David R. Choffnes, Fabián E. Bustamante and Aleksandar Kuzmanovic Department of EECS Northwestern University Relative Network Positioning via.
Developing Analytical Framework to Measure Robustness of Peer-to-Peer Networks Niloy Ganguly.
Plug: Virtual Worlds for Millions of People P2P-NVE 2008 Dec. 10, Melbourne, Australia P2P-NVE 2008 Shun-Yun Hu and Jehn-Ruey Jiang National Central University,
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
Peer-to-Peer Support for Massively Multiplayer Games Zone Federation of Game Servers : a Peer-to-Peer Approach to Scalable Multi-player Online Games [INFOCOM.
Peer-to-Peer AOI Voice Chatting for Massively Multiplayer Online Games (P2P-NVE 2007 workshop) Jehn-Ruey Jiang and Hung-Shiang Chen Adaptive Computing.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2005/10/19.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/02/15.
Peer-to-Peer AOI Voice Chatting for Massively Multiplayer Online Games (P2P-NVE 2007 workshop) Jehn-Ruey Jiang and Hung-Shiang Chen Presenter: Shun-Yun.
Copyright © 2002 Intel Corporation. Intel Labs Towards Balanced Computing Weaving Peer-to-Peer Technologies into the Fabric of Computing over the Net Presented.
Othman Othman M.M., Koji Okamura Kyushu University 1.
Server to Server Communication Redis as an enabler Orion Free
FLoD: A Framework for Peer-to-Peer 3D Streaming IEEE INFOCOM 2008 Shun-Yun Hu*, Ting-Hao Huang, Shao-Chen Chang*, Wei-Lun Sung*, Jehn-Ruey Jiang*, and.
1 Scalable Peer-to-Peer Networked Virtual Environment Master Thesis Oral Examination Dept. of CSIE, Tamkang Univ. Advisor: Dr. Chen Jui-Fa Shun-Yun Hu.
1 MMORPG Servers. 2 MMORPGs Features Avatar Avatar Levels Levels RPG Elements RPG Elements Mission Mission Chatting Chatting Society & Community Society.
OSIsoft High Availability PI Replication
Scalable Peer-to-peer Network for Biological Simulations Shun-Yun Hu 2005/05/26.
1 Peer-to-Peer Networked Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/10/18.
Efficient AOI-Cast for Peer-to-Peer Networked Virtual Environments.
1 Scalable AOI-cast for Peer-to-Peer Networked Virtual Environments Jehn-Ruey Jiang, Yu-Li Huang, and Shun-Yun Hu CSIE, National Central University, Taiwan.
CoopNet: Cooperative Networking
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Peer-to-Peer (P2P) Networking ( 同儕網路 ) Lecturer : 江振瑞 TA :黃捷群 黃郁誠 Time: Thursday 9:00~11:50 (9:30~12:00) Place: E6-A203 BlackBoard System:
Peer-to-Peer Content Delivery for X3D Earth Shun-Yun Hu Adaptive Computing and Network Lab Dept. of CSIE, National Central University 2006/11/14.
1 Selection Strategies for Peer-to-Peer 3D Streaming Wei-Lun Sung, Shun-Yun Hu, Jehn-Ruey Jiang National Central University, Taiwan 2008/05/29.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2008/05/26.
DIS Final Project Proposal Content Express R 許坤進 R 余世傑 R 洪啓仁.
Director: Sheng-Wei Chen Presenter: Shun-Yun Hu. MMNet Intro Multimedia Networking and Systems Laboratory Established since Dr. Sheng-Wei Chen (Associate.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/06/15.
Network Topologies for Scalable Multi-User Virtual Environments Lingrui Liang.
NGS data transmission, A point view from a user
Emitter: Scalable, fast and secure pub/sub in Go
DeFacto Planning on the Powerful Microsoft Azure Platform Puts the Power of Intelligent and Timely Planning at Any Business Manager’s Fingertips Partner.
Scalable Peer-to-Peer Networked Virtual Environment
A Case for Mutual Notification
Indirect Communication Paradigms (or Messaging Methods)
Indirect Communication Paradigms (or Messaging Methods)
Presentation transcript:

1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu CSIE, National Central University, Taiwan 2008/06/03

2

4

Massively Multiplayer Online Games MMOGs are growing quickly Multi-billion dollar industry 10 million subscribers for World of Warcraft 600,000 concurrent users, but 3,000 per world Can we scale to millions in the same world?

Imagine you start with a globe

Zoom in…

To Trier…

and to Universitat Trier

Right now it’s flat…

But in the near future…

Virtual Environments (VEs): A shared space

14 Model for virtual worlds Many nodes on a 2D plane Message exchange with those within Area of Interest (AOI)‏ How does each node receive the relevant messages? Area of Interest

15 A simple solution (point-to-point)‏ But…too many irrelevant messages N * (N-1) connections ≈ O(N 2 )  Not scalable! Source: [Funkhouser95]

16 A better solution (client-server)‏ Message filtering at server to reduce traffic N connections = O(N)  server is bottleneck Source: [Funkhouser95]

17 Current solution (server-cluster)‏ Still limited by servers. Expensive to deploy & maintain. Source: [Funkhouser95]

The Problem Client-server: resources limited by provisioning Resource limit [Funkhouser95]

The Solution Peer-to-Peer: resources grow with demand Resource limit [Keller & Simon 2003]

Outline Overlay management (VON) State management (VSM) Client-assisted service(FLoD)

Voronoi-based Overlay Network (VON)‏

Design Goals Observation: for VEs, the contents are messages from AOI neighbors Content discovery is a neighbor discovery problem Specific goals: Scalable  Limit per-node message traffic Responsive  Direct connection with AOI neighbors

23 If you talk with your AOI Neighbors directly… games can be built But how to discover new neighbors?

24 Voronoi Diagram 2D Plane partitioned into regions by sites, each region contains all the points closest to its site Can be used to find k-nearest neighbor easily Neighbors Site Region

25 Design Concepts Identify enclosing and boundary neighbors Enclosing neighbors are minimally maintained Boundary neighbors mutually help to discover neighbors boundary neighbor (B.N.)‏L. Blue unknown neighborL. Green normal AOI neighborGreen E.N. & B.N.Pink enclosing neighbor (E.N.)‏Yellow selfWhite Area of Interest (AOI)‏Circle Use Voronoi to solve the neighbor discovery problem

26 Procedure (MOVE)‏ 1)Positions sent to all neighbors, mark messages to B.N. B.N. checks for overlaps between mover’s AOI and its E.N. 2)Connect to new nodes upon notification by B.N. Disconnect any non-overlapped neighbors Boundary neighbors New neighbors Non-overlapped neighbors

Dynamic AOI Crowding within AOI can overload a particular node It’s better if AOI-radius can be adjusted in real time

28 Demonstration Simulation demo Random movements (100 nodes, 1200x700 world)‏ Local vs. global view Dynamic AOI adjustment

Simulations C++ implementation of VON (open source VAST library) World size: 1200 x 1200 (AOI: 100) Trials from 200 – 2000 nodes Connection limit: time-steps (~ 300 simulated seconds, assuming 10 updates/seconds) Behavior model Random movement:random waypoint Constant velocity: 5 units/step Movement duration: random (until destination is reached)

Scalability: Avg. Transmission / sec

Scalability: Max. Transmission / sec

Voronoi State Management (VSM)‏

33 State Management for VEs Besides positions, object states are important too Three main issues: Consistency control Load balancing Fault tolerance

A basic approach Let game states be managed by all clients Each client has two roles: peers & arbitrators i.e., Voronoi partitioning (we can use VON)

Problems with basic approach O(n 2 ) connections at hotspots Some cells have large sizes Constant ownership transfer

36 VSM: solution ideas Connection overload→ Aggregators clustering Large cell-size → Virtual peers incremental transfer Constant transfers→ Explicit ownership transfer

37 VSM: Consistency control Managing arbitrator receives and processes events Events are forwarded if necessary Updates sent to affected arbitrators, then peers

38 VSM: Consistency control Managing arbitrator receives and processes events Events are forwarded if necessary Updates sent to affected arbitrators, then peers

39 VSM: Consistency control Managing arbitrator receives and processes events Events are forwarded if necessary Updates sent to affected arbitrators, then peers

40 VSM: Consistency control Managing arbitrator receives and processes events Events are forwarded if necessary Updates sent to affected arbitrators, (then peers)

41 VSM: Load balancing Traditional: high-capacity nodes first, then adjust VSM: low-capacity nodes first, then cluster Overload: ask for aggregator, submit control Underload: disintegrate, release control

42 VSM: Fault tolerance Regular arbitrator: Pick backup arbitrator, backup states Backup transfers ownership to enclosing arbitrators Aggregators: Pick backup aggregators Take over original if failed Choose new backup

Peer-to-Peer 3D Streaming

44 Background MMOGs today need DVD installations Too slow and unpractical for: Larger and more dynamic worlds (TBs data) More numerous worlds (Web 3D) Content streaming is needed 80% - 90% content is 3D (e.g., 3D streaming)

3D streaming Continuous and real-time delivery of 3D content to allow user interactions without a full download. base & refinement pieces Base123 Refinements User (Hoppe 96)

Scene streaming Multiple objects Object determination & prioritization [Teler & Lischinski 2001]

47 3D streaming vs. media streaming Video / audio media streaming is very matured User access patterns are different for 3D content Highly interactive  Latency-sensitive Behaviour-dependent  Non-sequential How to scale to millions of concurrent users?

48 Observation Limited & predictable area of interest (AOI)‏ Overlapped visibility = shared content

49 overlapped visibility = shared content

Challenges for P2P 3D streaming Appropriate peer grouping Matching interests / needs Matching capabilities Dynamic group management Interest groups are dynamic(non-sequential) Real-time constraints(latency-sensitive) Minimal server involvement Visibility determination (object selection) Request prioritization (piece selection)

FLoD [Infocom 2008] VE partitioned into cells with scene descriptions Assumes P2P overlay that provides AOI neighbors star: selftriangles: neighbors circle: AOIrectangles: objects

52 Neighbor discovery via VON Boundary neighbors New neighbors Non-overlapped neighbors [Hu et al. 06] Voronoi diagrams identify boundary neighbors for neighbor discovery

53 Prototype experiment Progressive models in a scene (by NTU) Peer-to-peer AOI neighbor requests(by NCU) Found matching client upload / download

54 Simulation setup Environment 1000x1000 world, 100ms / step, 3000 steps client: 1 Mbps / 256 Kbps, server: 10 Mbps (both)‏ Objects Random object placement (500 objects)‏ Object size based on prototype User behavior Random & clustering movement (1.5 * ln(n) hotspots)‏

55 Server bandwidth usage

56 Client bandwidth usage

Impacts of P2P VEs… No server as bottleneck  scalable Commodity hardware  affordable 2D web  3D web Earth-scale virtual worlds (millions/billions of people)‏

Unresolved issues

Issues for creating VEs Consistency Interactivitymultiplayer Security Scalability Persistency massively multiplayer Reliability Interoperability Content 3D web

Meshing physical & virtual topologies Client 2 Client 1

A generic pub/sub scenario pub sub

62 Q&A VON: A Scalable Peer-to-Peer Network for Virtual Environments IEEE Network, vol. 20, no. 4, Jul./Aug FLoD: A Framework for Peer-to-Peer 3D Streaming IEEE INFOCOM, Apr Thank you!

Unresolved issues Overlay management Topology-aware, capacity-matching superpeers Flexible publication / subscription Direct vs. forwarding deliveries State management Load balancing (high user density) Persistency Security Client-assisted services (e.g., P2P 3D streaming) Source nodes discovery Visualization vs. networking priority matching LOD considerations

Other issues Common API Shared simulator / platform Interoperability

Extension: VoroCast Pack reduction via forwarding Headers reduction Data compression & aggregation