1 scalable aoi-cast for peer-to-peer networked virtual environments jehn-ruey jiang, yu-li huang,...
TRANSCRIPT
![Page 1: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/1.jpg)
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
2008/06/20
![Page 2: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/2.jpg)
2
![Page 3: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/3.jpg)
![Page 4: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/4.jpg)
Networked Virtual Environments (NVEs)
NVEs such as 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?
![Page 5: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/5.jpg)
The basic problem
Client-server: resources limited by provisioning
Resource limit
[Funkhouser95]
![Page 6: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/6.jpg)
An intuitive solution
Peer-to-Peer: resources grow with demand
Resource limit
[Keller & Simon 2003]
![Page 7: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/7.jpg)
7
Key to scalability
Users have limited visibility called Area of Interest (AOI) Bounded resource usage achievable by exchanging
messages only with AOI neighbors (i.e., an AOI-cast)
Area of Interest
![Page 8: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/8.jpg)
8
If you talk with your AOI Neighbors directly…games can be built
But how to discover new neighbors?
![Page 9: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/9.jpg)
9
Related Work: VON [hu et al. 2006]
1) Positions sent to all neighborsBoundary neighbors check for new neighbors
2) Connect to new nodes upon notification Disconnect any non-overlapped neighbors
Boundary neighbors
New neighbors
Non-overlapped neighbors
![Page 10: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/10.jpg)
Related Work: VON-forwarding [chen et al. 2007]
Only connect with 1-hop neighbors AOI-cast via forwarding Aggregation & compression utilizable
Problem: redundant message transmission
![Page 11: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/11.jpg)
Related Work: APOLO [lee et al.2006]
Each node keeps 4 out-direction links only Non-redundant transmission
Problem: Inefficient transmission path
![Page 12: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/12.jpg)
VoroCast
Goals: Keep the simplicity & advantage of forwarding Deliver messages without redundancy Construct spanning trees in a distributed manner
Observation: Growing a tree from root easily creates redundancy Growing a tree from children avoids redundancy
![Page 13: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/13.jpg)
root
A
B
C
D
E
F
G
H
I
JK
M
N
O
P
Q
L
![Page 14: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/14.jpg)
User density issue
• High user density in AOI can still be a problem
• To improve AOI scalability when user density is high, consistency can be traded for less bandwidth
• Those further away need not receive updates all the time
![Page 15: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/15.jpg)
FiboCast
Message frequency to distant nodes should be adjustable
Add an increasingly longer time-to-live (TTL) for each round of messages maximum hop count sequence that increases (e.g. a Fibonacci
sequence such as {0, 1, 1, 2, 3, 5, 8} Minimum 2-hop forwarding (for VoroCast to work)
∞
![Page 16: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/16.jpg)
Example routing length
• For a sequence up to 8, we save 24 updates
hops 1 2 3 4 5 6 7 8
ˇ ˇ X X X X X X -6
ˇ ˇ ˇ X X X X X -5
ˇ ˇ ˇ X X X X X -5
ˇ ˇ ˇ ˇ X X X X -4
ˇ ˇ ˇ ˇ ˇ X X X -3
ˇ ˇ ˇ ˇ ˇ ˇ ˇ X -1
ˇ ˇ ˇ ˇ ˇ ˇ ˇ ˇ 0
ˇ ˇ ˇ ˇ ˇ ˇ ˇ ˇ 0
Max_count Fibonacci
1 2 0
2 3 1
3 3 1
4 4 2
5 5 3
6 7 5
7 10 > 8 8
8 ∞ ∞
![Page 17: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/17.jpg)
Simulation evaluation
Map: 1000 x 1000 units Nodes: 100 ~ 1000 (in increments of 100) AOI radius: 200 units Time-steps: 3000 (100ms / step) Speed: 5 units / step (random waypoint pattern) FiboCast: {0, 1, 1, 2, 3, 5, 8} sequence
Data is compressed by zlib
![Page 18: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/18.jpg)
Bandwidth consumption
![Page 19: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/19.jpg)
Neighborship consistency
![Page 20: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/20.jpg)
Conclusion
A simple method of constructing spanning trees distributively that allows non-redundant AOI-cast
AOI scalability is improved by reducing bandwidth use
Aggregation and compression further save bandwidth
![Page 21: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/21.jpg)
Backup slides
![Page 22: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/22.jpg)
Why 2-hop neighbors?
![Page 23: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/23.jpg)
Drift distance
![Page 24: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/24.jpg)
24
Procedure (JOIN)
1) Joining node sends coordinates to any existing nodeJoin request is forwarded to acceptor
2) Acceptor sends back its own neighbor listjoining node connects with other nodes on the list
Acceptor’s region Joining node
![Page 25: 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](https://reader035.vdocuments.mx/reader035/viewer/2022062322/5697c02d1a28abf838cd96bc/html5/thumbnails/25.jpg)
25
Procedure (LEAVE)
1) Simply disconnect2) Others then update their Voronoi
new B.N. is discovered via existing B.N.
Leaving node (also a B.N.) New boundary neighbor