+ All Categories
Home > Documents > Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun...

Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun...

Date post: 21-Dec-2015
Category:
Upload: maria-johnston
View: 218 times
Download: 0 times
Share this document with a friend
Popular Tags:
40
Design and Implementation the Native Web Browser and Server for Content-Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*, Junliang Chen* *Beijing University of Posts and Telecommunications, Beijing, China #IBM T. J. Watson Research Center 2015.5.20 Contact: [email protected] CCNxCon 2015 Technical Report
Transcript
Page 1: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

Design and Implementation the Native Web Browser and Server for Content-Centric

Networking

Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*, Junliang Chen*

*Beijing University of Posts and Telecommunications, Beijing, China#IBM T. J. Watson Research Center

2015.5.20

Contact: [email protected]

CCNxCon 2015 Technical Report

Page 2: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

2

Outline

Introduction

Related Work

Design Principles & Architecture Implementation

Experiments and Demonstration

Discussions

Page 3: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

3

IntroductionIntroduction

Page 4: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

4

Application Provisioning Challenge in CCN

CCN network is completely different from the existing IP network. The existing application tools are mainly designed for existing network. It is obvious that enormous efforts are needed to rewrite or update current application tools running over IP to run over CCN.

Page 5: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

5

World Wide Web (WWW) has becomeone of the most popular Internet applications, with trafficvolume increasing due to the popularity of social networking,cloud computing, and video streaming hosting.

Dominant Internet Application: WWW

Page 6: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

6----from Prof. Beichuan Zhang of NDN Project

Great Changes of Web Application in IP and CCN

Load Balancer

CCN/

Page 7: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

7

Motivations

The existing web servers are designed for the hypertext transfer protocol (HTTP) and IP-based Internet rather than CCN, and therefore can not

communicate with CCN routers directly.

The existing web servers are designed for the hypertext transfer protocol (HTTP) and IP-based Internet rather than CCN, and therefore can not

communicate with CCN routers directly.

How to effectively support the dominant browser-based web applications is a key to the successof CCN.

How to effectively support the dominant browser-based web applications is a key to the successof CCN.

Present Situation

Unresolved Issue

Page 8: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

8

Related workRelated work

Page 9: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

9

Related work

HTTP-CCN Proxy/Gateway Approach

NDN.JS Approach

Page 10: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

10

HTTP-CCN Proxy Approach (1)

Alcatel-Lucent Bell Labs

Alcatel-Lucent Bell Labs

Page 11: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

11

HTTP-CCN Proxy Approach (2)

Orange LabsOrange Labs

Page 12: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

12

Advantages vs. Disadvantages

The HTTP-CCN proxy approach has no influence on existing Web browsers and Web applications, which helps introduce the existing web traffic into CCN

The HTTP-CCN proxy approach has no influence on existing Web browsers and Web applications, which helps introduce the existing web traffic into CCN

However, due to the protocol conversion cost and mismatch of HTTP with the CCN protocol, the proxy/gateway is not an efficient approach.

However, due to the protocol conversion cost and mismatch of HTTP with the CCN protocol, the proxy/gateway is not an efficient approach.

Advantages

Disadvantages

Page 13: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

13

NDN.JS Approach

Given the installation and configuration of ‘ccnd’ (a CCN router daemon) requires the understanding of the protocol design and significant skill in low-level system management.The CCNx package is not well supported on some platforms, such as Microsoft Windows and iOS.

Given the installation and configuration of ‘ccnd’ (a CCN router daemon) requires the understanding of the protocol design and significant skill in low-level system management.The CCNx package is not well supported on some platforms, such as Microsoft Windows and iOS.

Background

Therefore, it is desirable to have a more ‘lightweight’ solution for bringing CCN services to average Internet users.

Therefore, it is desirable to have a more ‘lightweight’ solution for bringing CCN services to average Internet users.

Motivation

Page 14: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

14

NDN.JS Approach

Compared with HTTP/NDN proxy approach, NDN.JS tries to import the NDN function into web browser with Javascript library, which makes the web browser can identify NDN naming scheme in part of Tags.

US UCLA NDN Project GroupUS UCLA NDN Project Group

Page 15: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

15

Advantages vs. Disadvantages

NDN.JS has the advantage of working with main stream browsers easily which some people might feel more comfortable with. In that case, the impact of NDN.JS on existing mainstream browsers is relatively less.

NDN.JS has the advantage of working with main stream browsers easily which some people might feel more comfortable with. In that case, the impact of NDN.JS on existing mainstream browsers is relatively less.

But, since the kernel of existing browsers can not support NDN mechanism natively, some functions are limited. For example, how to render NDN ContentObjcets in Web browser is still an issue to be addressed by NDN.JS approach.

But, since the kernel of existing browsers can not support NDN mechanism natively, some functions are limited. For example, how to render NDN ContentObjcets in Web browser is still an issue to be addressed by NDN.JS approach.

Advantages

Disadvantages

Page 16: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

16

Our Motivations

The lack of native support for web applications will greatly hamper the wide adoption of CCN.The lack of native support for web applications will greatly hamper the wide adoption of CCN.

Therefore, to enable the Web browser and Web server to inherently support the extensive CCN-based applications, the complete Web browser and Web server dedicated to CCN is needed, which can fully embody the advantages of CCN.

Therefore, to enable the Web browser and Web server to inherently support the extensive CCN-based applications, the complete Web browser and Web server dedicated to CCN is needed, which can fully embody the advantages of CCN.

Page 17: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

17

Native Approach: NDNBrowser and CCNxTomcat

Our native

approach

Our native

approach

Our native

approach

Our native

approach

Page 18: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

18

Design Principles & Architecture Implementation

Design Principles & Architecture Implementation

Page 19: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

19

Design Principles of CCN-enabled Web Browser

The complete content fetching, loading and rendering support of CCNx URI in HTML,CSS and JavaScript

Support for HTML, Images, CSS files and JavaScript files, Audio/Video tags in HTML5, JavaScript-based AJAX and developer-friendly API

The native function integration of web browser with CCN new features

Support for Form submission

Support for dynamically generated personalized content

Support for friendly user interface

Page 20: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

20

Technical approach of CCN Web Browser

We designed and developed an extended Web browser (i.e. NDNBrowser) based on open source WebKit to inherently support NDN-based web application

Some native NDN functions, such as fetching content from router caches or origin servers, fetching the latest version, have been embedded directly into the browser to fully support the seamless interactions between web browser and NDN network

Considering backwards compatibility and smooth network evolution, NDNBrowser is designed to enable content fetching by ’ccnx:/’ and ’http:/’ URI scheme for HTML, CSS and JavaScript simultaneously

Page 21: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

21

NDNBrowser: An Extension of Webkit

The blue components are extendedThe blue components are extended

Page 22: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

22

Component Architecture of NDNBrowser

For detailsFor details

Page 23: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

23

Implementation Structure of NDNBrowser

Page 24: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

24

Design Principles of CCN-enabled Web Server

Seamless integration of the CCN protocol stack with web servers

Support both static and dynamic content resources

Support for push-type web application mode

Resource processing granularity at the named data chunk level

Cache management for the Servlet response

Supporting the smooth evolution of web applications

Page 25: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

25

Architecture of CCNxTomcat

For detailsFor details

Page 26: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

26

Experiments and Demonstration

Experiments and Demonstration

Page 27: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

27

Future Internet Testbed of Our University

Page 28: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

28

CCN-Enabled Web Application Platform

CCN-enabled Web Server

CCN Interests Log

Dedicated CCN Client Simulator

Dedicated CCN Client Simulator

Dedicated CCN Client Simulator

CCNConenctor

Static File

ConnectorConnector

ProcessorProcessor

Servlet ContainerServlet ContainerEngineEngine

HostHostWrapperWrapper

HTTPProcessor CCNProcessor

HTTPConenctor

Service AdaptorService Adaptor

DefaultServlet

DefaultServlet

ServletServlet

Static File

DataBase

CCN Content

Repository

ContentManagerContentManager

ContentListener

CCNInputBuffer

CCNOutputBuffer

CCN Content Cache

CCNNetworkManager CCNPraser CCNTypeSel

etor

CCNDynamicRequest

CCNURIManager

Request/Response

CCN-enabled Web BrowserBrowser UI

Network

WebKit Embedding API

WebCore JavaScriptEngine

Platform Interaction API

Parser Engine

RenderingEngine

Loading Engine

Storage

Graphics Audio/Video ...

CCNx HTTP

IPCCN Interest packets log collecting and analysis system

CCN Network

Page 29: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

29

Function Test

Page 30: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

30

Function Test Results

Page 31: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

31

Function Test Results (Con.)

Page 32: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

32

Function Test Results (Con.)

Page 33: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

33

Performance Test of NDNBrowser

Page 34: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

34

Performance Test of CCNxTomcat

Page 35: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

35

A Real CCN-enabled Web Application Case

Page 36: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

36

Demonstrations

Page 37: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

37

DiscussionsDiscussions

Page 38: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

38

Challenge 1

Two Important Features of CCN/NDN In-network Caching Interest Aggregation

AdvantagesLow Response TimeReducing the Duplicated Network Traffic

DisadvantagesContent providers will be unaware of the actual usage of

their contents throughout the network. This new model is misaligned with existing business

models where advertising revenue is based on content hit count.

Potential Mismatch with Existing Business Models

Page 39: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

39

Challenge 2

The CCN/NDN is a pull-based network and is unfriendly for push-based applications.

Efficiently Supporting Diverse Application Types

Fortunately, the new version CCN implementation (CCNx 1.0) has improved this drawback in the protocol stack. In this new version, the CCN Interest packet message supports the optional payload, which can be used to carry user’s data.

Page 40: Design and Implementation the Native Web Browser and Server for Content- Centric Networking Guoshun Nan*, Xiuquan Qiao*, Yukai Tu*, Wei Tan#, Lei Guo*,

40

Thanks!

Any Questions, Please Contact: [email protected]


Recommended