Presentation on theme: "Content Centric Networking"— Presentation transcript:
1Content Centric Networking Uichin Lee KAIST KSEBased on Van Jacobson’s slide decks
2Talk Plan A Brief History of Networking (+Motivation) Node Model RoutingTransport
3A Brief History of Networking Generation 1: the phone system (focus on the wires)Generation 2: the Internet (focus on the endpoints)Generation 3? dissemination (focus on the data)
4The Phone System is not about phones, it’s about connecting wires to other wires The utility of the system depends on running wires to every home & officeThe wires are the dominant costRevenue comes from dynamically constructing a path from caller to callee
5A business model built on side effects For a telco, a call is not the conversation you have with your mom in Phoenix, it’s a PATH between two end-office line cardsA phone number is not the name of your mom’s phone, it’s a program for the end-office switch fabric to build a path to the destination line card
7Structural problems with phone systems Path building is non-local and encourages centralization and monopolyCalls fail if any element in path fails so reliability goes down exponentially as the system scales upData can’t flow until a path is set up so efficiency decreases when setup time or bandwidth increases or holding time decreases
8Gen 2: packet switchingPaul Baran, 1964Change point view to focus on endpoints rather than pathsData sent in independent chunks and each chunk contains the name of the final destination(Transitivity) If node gets a chunk for a different destination, tries to forward it using static configuration or distributed routing computationDon Davies, 1963
9Packet switching used the existing wires, it just used them differently In 1964 these ideas were ‘lunatic fringe’ — anyonewho knew anything about communicationsknew this could never work
11ARPAnet The ARPAnet was built on top of the existing phone system It needed cheap, ubiquitous wiresIt needed a digital signaling technology (but not anything like the state of the art)At the outset, the new network looked like an inefficient way to use the old networkThe rest of the research community put enormous effort into the details of circuit switched data. In the end it didn’t matter
13The CATENET and TCP/IPBob Kahn, 1973Packet switching worked so well that by 1973 everyone wanted a networkEach was done as a clean slate so they didn’t interoperateSince Paul had already abstracted out all the topological details Vint realized that a common encapsulation & addressing structure could glue together arbitrary networksVint Cerf, 1973
15TCP/IP winsAdaptive routing lets system repair failures and hook itself up initially.Reliability increases exponentially with system size.No call setup means high efficiency at any bandwidth, holding time or scale.Distributed routing supports any topology and tends to spread load and avoid a hierarchy’s hot spots.
16TCP/IP issues“Connected” is a binary attribute: you’re either part of the internet and can talk to everything or you’re isolated.Becoming part of the internet requires a globally unique, globally known IP address that’s topologically stable on routing time scales (minutes to hours).connecting is a heavy weight operationthe net doesn’t like things that move
17Like the phone system before it, TCP/IP solved the problems it set out to solve so well that even today it’s hard to conceive of an alternative.TCP/IP’s issues don’t reflect an architectural failing but rather its massive success in creating a world rich in information & communication.When TCP/IP was invented there were few machines and many users per machine. Today there are many machines and many machines per user, all with vast amounts of data to be synchronized & shared.And that creates an entirely new class of problem . . .
18The raison d’être of today’s networking, both circuit switched and TCP/IP is to allow two machines to have a conversationThe overwhelming use (>99% by most measurements) of today’s networks is for a machine to acquire named chunks of data (like web pages, or messages)Acquiring named chunks of data is not a conversation, it’s a “dissemination” (the computer equivalent of “Does anybody have the time?”)
19In a dissemination the data matters, not the supplier It’s possible to disseminate via conversation and get the data as a side effect, But:Security is an afterthought. Channels are secured, not data, so there’s no way to know if what you got is complete, consistent or even what you asked for.It’s inefficient (hotspots, poor reliability, poor utilization).Users have to do the translation between their goal & its realization and manually set up the plumbing to make things happen.
20 Dissemination networking Data is request by name, using any and all means available (IP, VPN tunnels, multicast, proxies, etc).Anything that hears the request and has a valid copy of the data can respond.The returned data is signed, and optionally secured, so its integrity & association with name can be validated (data centric security)
21Content Centric Networking (CCN): Goals Create a simple, universal, flexible communication architecture that:Matches today’s communication problemsMatches today’s application design patternsIs at least as scalable & efficient as TCP/IPIs much more secureRequires far less configuration
22Universal?Any architecture that runs over anything is an overlay (IP is an overlay).IP started as a phone system overlay; today much of the phone system is an IP overlay. System theorists would say ‘IP is universal’.CCN has the same character: it can run over anything, including IP, and anything can run over CCN, including IP.And CCN has a simpler, more general relationship with lower layers than IP.
23There are two ways to view CCN a ‘universal’ middlewarean IP for contentThe difference between these isdeployment time horizon
24IP to “chunks of named content” Strategy: exploit multiple simultaneous connectivities for data delivery (e.g., ethernet, 3G, WiFi) due to its simpler relationship with layer 2Current InternetCCN
25Talk Plan A Brief History of Networking (+Motivation) Node Model RoutingTransport
26CCN packets There are two CCN packet types: interest (similar to http “get”) and data(similar to http response). Both areencoded in an efficient binary XML.
27Content-Based Security Name-content mapping verification via per-data packet signatureData packet is authenticated with digital signatureCCN trust establishment by associating content namespaces w/ public keys
28Basic CCN forwardingConsumer ‘broadcasts’ an ‘interest’ over any & all available communications media:get ‘/parc.com/van/presentation.pdf’Interest identifies a collection of data - all data items whose name has the interest as a prefix.Anything that hears the interest and has an element of the collection can respond with that data:HereIs ‘/parc.com/van/presentation.pdf/p1’ <data>
29Basic CCN transport Data that matches an interest ‘consumes’ it. Interest must be re-expressed to get new data. (Controlling the re-expression allows for traffic management and environmental adaptation.)Multiple (distinct) interests in same collection may be expressed (similar to TCP window).
30Internally, CCN names are opaque, structured byte strings /parc.com/van/cal/417.vcf/v3/s0/0x3fdc96a4... is represented as a component count then, for each component, a byte count followed by that many bytes:…78: parc.com3: van3: cal32: 3FDC96…The only assumption CCN makes about names is hierarchical structure.E.g., names or components can be encrypted or contain arbitrary binary data.
31Using NamesThe hierarchical structure is used to do ‘longest match’ lookups (similar to IP prefix lookups) which helps guarantee log(n) state scaling for globally accessible data.Although CCN names are longer than IP identifiers, their explicit structure allows lookups as efficient as IP’s. (see hashing work by Rasmus Pagh and Martin Dietzfelbinger)
32Names and meaningLike IP, a CCN node imposes no semantics on names. Meaning comes from application, institution and global conventions reflected in prefix forwarding rules. For example, /parc.com/people/van/presentations/FISS09 might be the name of a presentation’s data and /thisRoom/projector the name of the projector it should display on.The former is a globally meaningful name leveraging the DNS global naming structure. The latter is local and context sensitive—it refers to different objects depending on the room you’re in.
36Strategy layer (mobility management) When you don’t care who you’re talking to, you don’t care if they change.When you’re not having a conversation, there’s no conversation state to migrate.Multi-point gives you multi-interface for free.When all communication is locally flow balanced, your stack knows exactly what’s working and how well.
37Quality of Service (QoS) In the current Internet, QoS problems are highly localized.Roughly half the problems arise from the serial dependencies created by queues.The other half are caused the lack of receiver based control of bottleneck links.Unlike IP, CCN is local, doesn’t have queues and receivers have complete, fine-grained control.But it does aggregate traffic and has face-specific controls on the aggregation.
38Talk Plan A Brief History of Networking (+Motivation) Node Model RoutingTransport
39There are many (emerging) ways to do routing, e. g There are many (emerging) ways to do routing, e.g., Small Worlds, Geographic Hyperbolic, Pseudo potential Gradient, Epidemic percolation.In general they’re easier to implement and work better for CCN than for IP:no looping data ⇒ no convergence issues.multi-destination ⇒ state can be approximate (false positives ok).CCN transport model matches routing’s and adds security.
40I’m only going to talk about embedding CCN in existing Internet routing. This is an easy evolutionary path (it allows for immediate, incremental deployment).It offers some intuition on scaling (same scaling as IP routing).The basics are the same for any routing scheme.
41Existing link-state routing protocols can be used, unmodified, to construct a CCN FIB data src advertisement: /parc.com/media/art /parc.com/mediadata src advertisement: /parc.com/media/artBACDFEE’s FIB/parc.com/media/art /parc.com/mediaA, B BCCN Router
46Content goes only where there’s interest. It takes at most one trip across any link.Average latency is minimized.Total bandwidth is minimized.There’s no routing or control traffic associated with the replicas.
47Talk Plan A Brief History of Networking (+Motivation) Node Model RoutingTransport
48Transport State Conversation transport state is very compact: One dynamic state variable (tcp sequence / ack number) conveys what ends know.Additional static variable (tcp window) conveys what they want.
49Annotated path in CCN name tree serves as transport state Conventions:name tree child nodes are lexically ordered<next> assumed if no relationship specified
50Annotated path in CCN name tree serves as transport state Most recent version of slides for this talk:parc.com/van/talks/mit10-08 <rightmost child>Conventions:name tree child nodes are lexically ordered<next> assumed if no relationship specified
51Annotated path in CCN name tree serves as transport state Most recent version of slides for this talk:parc.com/van/talks/mit10-08 <rightmost child>Newest version after v2:parc.com/van/talks/mit10-08/v2 <rightmost sibling> (fails since there is no newer version)Conventions:name tree child nodes are lexically ordered<next> assumed if no relationship specified
52Annotated path in CCN name tree serves as transport state Most recent version of slides for this talk:parc.com/van/talks/mit10-08 <rightmost child>Newest version after v2:parc.com/van/talks/mit10-08/v2 <rightmost sibling> (fails since there is no newer version)Next available chunk after s1: parc.com/van/talks/mit10-08/v2/s1Conventions:name tree child nodes are lexically ordered<next> assumed if no relationship specified
54Shared-content performance comparison # of clientsDownload delayCCNTCP
55Wrapup CCN node is as simple as an IP node: same memory requirementssame computational requirements (with option to increase security)CCN offers simple, robust, secure single-point configuration.CCN does near optimal content distribution.Network, applications and users all share the same model of communication.