Othman Othman M.M. , Koji Okamura Kyushu University
1
Othman Othman M.M. , Koji Okamura Kyushu University 1 Outline: Goal - - PowerPoint PPT Presentation
Othman Othman M.M. , Koji Okamura Kyushu University 1 Outline: Goal . 1. 2. Current Technologies. 3. Limitations of Current Technologies. 4. Advantages of Combining Technologies. 5. How to Combine Technologies. 6. Anycast Scenario 7. BitTorrent
1
1.
2
To have contents with high availability. Improving the availability of the content server. To improve the overall usage of bandwidth of the whole
3
Anycast:
Multiple nodes with the
same anycast address (Sa).
Packet sent to (Sa) will be
delivered to the node with nearest location according to the routing table.
4
Peer to Peer:
Depends on user clients to
provide service.
Implements an application
layer overlay network.
Overlays used to for indexing
and peer discovery.
Fig 2. BitTorrent
Source :http://en.wikipedia.org/wiki/Image:Torrentcomp_small.gif
Sa Sa Sa Fig 1. Anycast
Anycast:
All of the content servers
must have identical contents.
Lacks the flexibility, and
not dynamic.
5
Peer to Peer:
Overhead because of overlay
nature, protocol, peer discovery, and looking up in index.
Service depends on user’s
contribution.
10.10.10.1 10.10.10.1 192.168.0.2 192.168.0.1 Router 1 Router 2 Router 3 Router 4
Destination Next‐Hop Distance 192.168.0.0 127.0.0.1 10.0.0.1 192.168.0.1 1 10.0.0.1 192.168.0.2 2
Cont 1 Cont 2 Cont 3 Cont n Cont 1 Cont 2 Cont 3 Cont n
Fig 2. BitTorrent
Source : http://computer .howstuffworks. com/bittorrent2 .htm
Advantages of Anycast:
Fast and does not require any
effort of the users, because choosing destination (decision making) is done in the network.
6
Advantages of Peer to Peer:
High availability of popular
contents, due to users’ contribution in providing service.
Combination of those technologies:
Choosing destination by network: to remove the burden of
finding destination and thus a faster response.
Users contributing in service: to improve the availability, and
improves the overall use of bandwidth in whole network (reduce bandwidth used by server).
Content ID: to have more flexibility down to the level of
contents rather than the node level.
Content Centric Network:
Treats contents as a primitive not
the connection.
Anycast. Content Centric Networks. Peer to Peer.
7
Combination of those technologies:
Users contributing in service: to improve the availability, and improves the
server).
Choosing destination by network: to remove the burden of finding
destination and thus a faster response.
Content ID: to have more flexibility down to the level of contents rather
than the node level.
Content Server
Client A
Anycast Manager
Client B Su Au Bu Get Content ID? Content ID = X
To: Su Cont id=X To: Au Cont id=X
We have designed the “Content Anycasting” that combines
Content anycasting manages to do its rule by using:
OpenFlow for the process of choosing the destination, along
with the aid of the content server.
A new procedure for requesting content is introduced to
enable the clients to get the contents.
8
9
10.10.10.1 10.10.10.1
Cont 1 Cont 2 Cont 3 Cont n Cont 1 Cont 2 Cont 3 Cont n Cont 1 Cont 2 Cont 3 Cont n
10.10.10.1 10.10.10.1
Client will send packet to 10.10.10..1 Network will choose end node based on routing measures
10
Tracker 100% Seeder 100% Seeder 70% 30% 0%
Content Server Client A
Anycast Manager
Client B
1 2 3
10.10.10.1 192.168.10.1 192.168.20.1 if Destination IP: 10.10.10.1 & Content id: 12345 Change : Destination IP: 192.168.10.1
11
Step 1: client B
requests the content id.
Step 2: server sends
the content id to the client B.
Content Server Client A
Anycast Manager
Client B
1 2
10.10.10.1 192.168.20.1 192.168.10.1 Content id: 12345
12
Content Server Client A
Anycast Manager
Client B
1 2 3
Destination IP: 192.168.10.1 Content id: 12345 10.10.10.1 192.168.10.1 192.168.20.1 Destination IP: 10.10.10.1 Content id: 12345
13
Separates routing decision making (in controller) and the
Matching in the switch or router is done according to Layer
Figure 1: OpenFlow switch
(ref: Nick McKeown et al, “OpenFlow: enabling innovation in campus networks”)
14
OpenFlow relies on the Flow‐table, which is contains: Header fields are the ones the incoming packet is matched
The actions can be : forwarding the packet to physical
Figure 2 Figure 1
15
Phase 1:
Client browses to find desired content. Client sends the request (e.g. HTTP GET) Server responds with content ID, to be sued in phase 2 to get
the file.
Phase 2:
Uses 3 way handshake. Requires modification
to the TCP.
16
Phase 2: 3 way handshake:
Start with SYN packet that
is sent to the server.
Using OpenFlow and the
content id packet will be redirected to an other client (Current Client).
Current client acknowledge
to the SYN with its IP in packet.
New client starts to use the
Current client’s IP address in the session.
New Client OpenFlow router Current Client
Destination: serverIP :SYN Destination: CurrentClientIP :SYN SYN/ACK With CurrentClientIP Destination: CurrentClientIP :SYN
17
Currently we are building redirection system, modified
First, Redirection system with one Anycast manager. Second, duplicate redirection systems each with its own
Aiming to measure: communication cost, response time,
And comparing those values to other solutions like the
18
Content anycasting aims to combine the strength points of
The goal is to improve the content server by increasing its
In a way that overcomes the limitations of those
19
Thank you for listening.
20
21
Functionality:
Receive the redirection
request form the content server.
If the redirections are in the
same AS make redirections and send them to the OpenFlow routers or switches.
And if in different AS send
the redirection request to the appropriate anycast manager.
Receive redirection request Lookup AS numbers for each current user client’s IP address in the redirection request Generate copies of the redirection request each designated for one AS Is the copy for this AS Process it by the Redirection controller Send it to the Anycast manager of the AS to which this copy is designated to No Yes
22
Internet plays many roles, one of them is delivering
Relying mainly on the Client / Server model and Peer to
Divers contents: audio, video, large files. Number of users increases. Bandwidth for users increases. Traffic increases by a factor of 1.7 / year.
23
This created a kind of imbalance:
Clients Server more clients more bandwidth diverse content Clients Server more clients more bandwidth diverse content
Number of client increases. Also the bandwidth for the
clients increases.
Client side have more and
more demands.
Servers have to implement
solutions to keep up with this increase.
More efforts on the server
side.
24
Step 1: the server sends the redirection request, which includes
the contents ids and the IP addresses of the clients downloading those files along with their uploading capabilities.
Step 2: the Anycast
manager makes the OpenFlow redirections and sends them to the OpenFlow switch or router.
Step 3: OpenFlow switch or
router stores the redirections.
25
Content Server. Anycast Manager. OpenFlow router or switch. User Client.
Content Server client client Anycast Manager Anycast Manager Autonomous System 1 Autonomous System 2
26
27
Our design makes use of OpenFlow to perform the
And to enable that we designed a two phase content
The goal is to improve the content server by increasing its
28