Top Banner
Haggle Architecture and Reference Implementation Uppsala, September 29-30 Erik Nordström, Christian Rohner
18

Haggle Architecture and Reference Implementation

Feb 19, 2016

Download

Documents

Joylyn Trinidad

Haggle Architecture and Reference Implementation. Uppsala, September 29-30 Erik Nordström , Christian Rohner. Haggle Scenario. The s cenario (you all know this): People carry information with them Ad hoc/opportunistic interactions Heterogeneous connectivity Architectural p roblems : - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Haggle  Architecture and Reference Implementation

Haggle Architecture and Reference Implementation

Uppsala, September 29-30Erik Nordström, Christian Rohner

Page 2: Haggle  Architecture and Reference Implementation

Haggle Scenario

• The scenario (you all know this):– People carry information with them– Ad hoc/opportunistic interactions– Heterogeneous connectivity

• Architectural problems:– How to agree on names and addresses?– How to exchange information (protocols, tech.)?– How to prioritize the information to exchange?

Page 3: Haggle  Architecture and Reference Implementation

A Search-based Network Architecture

• Make searching a first class networking primitive

• What does searching imply?– Unstructured (meta)data– Query - Keywords/interests– Ranked results

• How can searching help us in a Haggle-style networking context?

Page 4: Haggle  Architecture and Reference Implementation

“Searching” in Haggle INFANT• INS-inspired namespace

– Structured metadata– Hierarchical (name graph/tree)

• Used to map from higher level name to lower level protocol/interface– Static, and pre-defined

mappings• No searching – just lookup /

tree traversal• How map data to user?

– Implies destination oriented communication

INS

Page 5: Haggle  Architecture and Reference Implementation

Searching on the Desktop and the Web

• Consistent namespaces– Semantic filesystem (Gifford et al. 1991)

• File attributes along file names• User explicitly adds metadata

– Metadata extraction and indexing• Content-based search– Probabilistic models map metadata (term freq., language

models) to search terms• Context enhanced search using graph models– Google’s PageRank – Connections (Soule et al. 2005)

Page 6: Haggle  Architecture and Reference Implementation

Haggle Scenario (contd.)

Interests

Interests

Search for matching content

Search for matching content

4 3 21

12 3 4

Page 7: Haggle  Architecture and Reference Implementation

Searching in Haggle

• Use searching to resolve mappings between data and receivers

Page 8: Haggle  Architecture and Reference Implementation

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

•Christian•Tryffel

Page 9: Haggle  Architecture and Reference Implementation

Relation Graph

• Each Haggle node maintains a relation graph• Vertices are data objects• Edges are relations = two data objects share

an attribute• We define our primitives on the relation graph• Shares similarities with (local) search– E.g., Connections [Soules et. al 2006], Apple

Spotlight, Google Desktop

Page 10: Haggle  Architecture and Reference Implementation

Filter

Demux = filtering associated with an actor

Data object

Attribute

Induced subgraph

Page 11: Haggle  Architecture and Reference Implementation

Query – Weighting the graph

There may be many ways to do the weighting!

Page 12: Haggle  Architecture and Reference Implementation

Resolve = Cut in Relation Graph

Ranked result = {v1,v2} || {v2,v1}

Page 13: Haggle  Architecture and Reference Implementation

Exchanging Data ObjectsResolve

data/content Resolve node

•Since content and nodes are both data objects, these two operations are (more ore less) the same

Page 14: Haggle  Architecture and Reference Implementation

Search Benefits

• Flexible naming and addressing• Late binding resolutions• Late binding demultiplexing• Content dissemination and forwarding– Deciding delegate forwarders– Ordered forwarding

• Resource and congestion control– Limit queries – only get best matching content

Page 15: Haggle  Architecture and Reference Implementation

Query Time

Page 16: Haggle  Architecture and Reference Implementation

Weighting

Page 17: Haggle  Architecture and Reference Implementation

Conclusions

• Search primitives are useful abstractions for DTN-style networking

• Novel naming and addressing• Ranking useful for dissemination– Resource/congestion control– Ordered forwarding (priorities)

• Better understanding of scaling needed– Query time– Effect on battery life?

Page 18: Haggle  Architecture and Reference Implementation