HTTP/CCN Gateway and Cooperative Caching Demonstrator
Dariusz Bursztynowski, Mateusz Dzida, Tomasz Janaszka (Telekomunikacja Polska, Orange Labs Poland), Adam Dubiel (Warsaw University of Technology, Poland), Michal Rowicki (Warsaw University of Technology and Telekomunikacja Polska, Poland)
CCNxCon2012: Session 5: HTTP/CCN Gateway and Cooperative Caching Demonstrator
1. CCNx Comm. Meeting, Sophia-Antipolis, Sept. 12-13, 2012
Client/server HTTP/CCN gateway in CCN environment with cooperative caching
CCN client / CCN server + IP client/IP server/CCN tunelling
1. Motivation
File
HTTP
• Experiment with caching schemes using real traffic server
(HTTP dominates) IP
• Hands-on on application level => universal HTTP/CCN Server
gateway (able to operate in different settings:
inbound/outbound proxy, HTTP tunelling)
2. Naming and mapping of messages Registered names
Requirements
• 100% HTTP compatibility CCN
• easy to implement CCN
• future-proof to the changes of CCNx protocol HTTP
client
Two basic rules adopted:
• Request header – mapped onto content name using
command markers IP IP
• Entity Body always conveyed in Data packets
(sequences of Interest/Data may be required) HTTP
client
Examples:
GET
ccnx://http/<request_method_name>/<URL>/<abs_path>...
.../%C1.http.<header_field_name>~Eb64(field_value)/%C1.http... 4. Actual setup
POST
Need to upload a file using the POST
method
Interest (can I send ?)
name:
grid cluster
statistics
your request)
Data [OK] (wait for the Interest that prompts you to specify HTTP/CCN local content
name:
content: OK
CCNx
Interest (specify your POST request) network monitoring
Data (well, I’m posting this)
name:
content:
send a server OK response to me)
Interest (please,
Data (here goes the OK to the POST)
HTTP/CCN
name:
+ body
content: OK
browser
3. Architecture – functional settings 6. Demo use cases
CCN client / IP server • CCN client / IP server
• CCN client / CCN server
Watch the demo for more details
HTTP
server
HTTP
client
Orange Labs