1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2008/05/26.

Slides:



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

Peer-to-Peer 3D Streaming Dissertation Oral Exam Shun-Yun Hu Department of Computer Science and Information Engineering National Central University Dissertation.
Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
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.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
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.
Chapter 9 Designing Systems for Diverse Environments.
Peer-to-Peer Support for Massively Multiplayer Games Bjorn Knutsson, Honghui Lu, Wei Xu, Bryan Hopkins Presented by Mohammed Alam (Shahed)
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.
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.
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
WebRTC – Challenges and Best Practices Sumit Amar Director of Engineering Electronic Arts.
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.
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,
A Delaunay Triangulation Architecture Supporting Churn and User Mobility in MMVEs Mohsen Ghaffari, Behnoosh Hariri and Shervin Shirmohammadi Advanced Communications.
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.
Introduction to Networked Graphics Part 4 of 5: Bandwidth Management & Scalability.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2005/10/19.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
Locality Aware Dynamic Load Management for Massively Multiplayer Games Jin Chen, Baohua Wu, Margaret Delap, Bjorn Knutsson, Margaret Delap, Bjorn Knutsson,
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.
Scalable Peer-to-peer Network for Biological Simulations Shun-Yun Hu 2005/05/26.
DHT-based unicast for mobile ad hoc networks Thomas Zahn, Jochen Schiller Institute of Computer Science Freie Universitat Berlin 報告 : 羅世豪.
1 Peer-to-Peer Networked Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/10/18.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu CSIE, National Central University, Taiwan 2008/06/03.
Efficient AOI-Cast for Peer-to-Peer Networked Virtual Environments.
Multiplayer games on networks potential and tradeoffs.
SocialVoD: a Social Feature-based P2P System Wei Chang, and Jie Wu Presenter: En Wang Temple University, PA, USA IEEE ICPP, September, Beijing, China1.
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.
/ Fast Web Content Delivery An Introduction to Related Techniques by Paper Survey B Li, Chien-chang R Sung, Chih-kuei.
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.
Overlay Network Based Optimization of Data Flows in Large Scale Client-Server-based Game Architectures for Deployment on Cloud Platforms Peter Quax, Robin.
Emitter: Scalable, fast and secure pub/sub in Go
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/05/26

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 Mannheim…

and to Universitat Mannheim

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]

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

22 If you talk with your AOI Neighbors directly… But how to discover new neighbors?

23 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

24 Design Concepts Identify enclosing and boundary neighbors Enclosing neighbors are minimally maintained Mutual collaboration in neighbor discovery 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

25 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

27 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

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

Voronoi State Management (VSM)‏

33 Voronoi State Management VON deals with positions only, but states stored in spatial objects (with x, y) are important too. Let game states be managed by all clients Each client has two roles: peers & arbitrators i.e. Voronoi partitioning Three problems: O(n 2 ) connections at hotspots Some cells have large sizes Constant ownership transfer

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

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

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

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: 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

Peer-to-Peer 3D Streaming

41 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)

42 3D streaming Object streaming [Hoppe 1996] base refinements Scene streaming [Teler & Lischinski 2001] multiple objects object selection & prioritization

43 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 Analogy Constant & frequent switching of multiple channels

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)

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

46 overlapped visibility = shared content

47 Download content from AOI neighbors star: selftriangles: neighbors circle: AOIrectangles: objects

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

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

50 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)‏

51 Server bandwidth usage

52 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 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

Meshing physical & virtual topologies Client 2 Client 1

A generic pub/sub scenario pub sub

Other issues Common API Shared simulator / platform Interoperability

58 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!