Changes between Version 5 and Version 6 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ccn/Procedure/Execute
- Timestamp:
- 06/13/15 10:07:53 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ccn/Procedure/Execute
v5 v6 53 53 The `install` and `execute` services requested in our RSpec have 54 54 already started, and nodes in our experiment should be running the CCN (Content Centric Networking) protocol. Our experiment consists of: 55 * A data source (node {{{dsrc1}}} that holds precipitation data from the US National Oceanic and Atmospheric Administration (NOAA). 56 * A researcher node {{{rsrchr}}} that gets data from the data source 57 * A collaborator node {{{collab}}} that gets data from the researcher 55 * A data source (node {{{data}}} that holds precipitation data from the US National Oceanic and Atmospheric Administration (NOAA). 56 * Two nodes forwarding traffic between other locations `ccnx-router` and `ccnx-router-1` nodes 57 * A researcher node {{{user}}} that gets data from the `ccnx-router` node 58 * A collaborator node {{{user-0}}} that gets data from `ccnx-router-1` node 58 59 59 60 Key features of the CCN protocol include: … … 62 63 63 64 We verify this caching behavior by: 64 * Logging into the researchernode and using the client program to get precipitation data for a certain date range. The client displays how long it took to get the data.65 * Logging into the `user` node and using the client program to get precipitation data for a certain date range. The client displays how long it took to get the data. 65 66 * Retrieving the same data again and noting how we get it much faster since it comes out of a cache. 66 67 * Requesting data for different date ranges and seeing how long it took to retrieve the data. 67 68 * Requesting the data again and note it is retrieved much faster. 68 69 69 If you have time, you can repeat the above steps on the collaboratornode.70 If you have time, you can repeat the above steps on the `user-1` node. 70 71 71 Note: There is an [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute/GEMINI optional part] to this exercise that uses the GENI Desktop to visualize traffic on the links in our network. There you can visualize which data requests went all the way to the data source (node {{{d src1}}}) and which data requests were fulfilled from a node's cache.72 Note: There is an [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute/GEMINI optional part] to this exercise that uses the GENI Desktop to visualize traffic on the links in our network. There you can visualize which data requests went all the way to the data source (node {{{data}}}) and which data requests were fulfilled from a node's cache. 72 73 73 74 === 5.1 Run the CCN application === 74 1. Log into the node {{{ rsrchr}}} using the {{{ssh}}} command returned by {{{readyToLogin}}}.75 1. Log into the node {{{user}}} using the {{{ssh}}} command returned by {{{readyToLogin}}}. 75 76 2. Once you are logged in, ask for precipitation data from 1 Jan 1902 to 2 Jan 1902: 76 77 {{{ … … 101 102 }}} 102 103 Notice how much faster the data was retrieved this time. 103 5. If time permits, log into the collaborator node {{{ collab}}} and run queries from there. (Pick dates in January of 1902.) Notice different data retrieval times depending on whether the data came from the datasource, the cache at {{{rsrchr}}}, or the local cache.104 5. If time permits, log into the collaborator node {{{user-0}}} and run queries from there. (Pick dates in January of 1902.) Notice different data retrieval times depending on whether the data came from the data source, the cache at {{{ccnx-router}}}, or the local cache. 104 105 105 106