Compiling Path Queries
Author(s): Narayana, Srinivas; Arashloo, Mina T; Rexford, Jennifer; Walker, David
DownloadTo refer to this page use:
http://arks.princeton.edu/ark:/88435/pr1hg1m
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Narayana, Srinivas | - |
dc.contributor.author | Arashloo, Mina T | - |
dc.contributor.author | Rexford, Jennifer | - |
dc.contributor.author | Walker, David | - |
dc.date.accessioned | 2021-10-08T19:48:53Z | - |
dc.date.available | 2021-10-08T19:48:53Z | - |
dc.date.issued | 2016 | en_US |
dc.identifier.citation | Narayana, Srinivas, Mina Tahmasbi, Jennifer Rexford, and David Walker. "Compiling path queries." In 13th USENIX Symposium on Networked Systems Design and Implementation (2016): pp. 207-222. | en_US |
dc.identifier.uri | https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-narayana.pdf | - |
dc.identifier.uri | http://arks.princeton.edu/ark:/88435/pr1hg1m | - |
dc.description.abstract | Measuring the flow of traffic along network paths is crucial for many management tasks, including traffic engineering, diagnosing congestion, and mitigating DDoS attacks. We introduce a declarative query language for efficient path-based traffic monitoring. Path queries are specified as regular expressions over predicates on packet locations and header values, with SQLlike “groupby” constructs for aggregating results anywhere along a path. A run-time system compiles queries into a deterministic finite automaton. The automaton’s transition function is then partitioned, compiled into match-action rules, and distributed over the switches. Switches stamp packets with automaton states to track the progress towards fulfilling a query. Only when packets satisfy a query are the packets counted, sampled, or sent to collectors for further analysis. By processing queries in the data plane, users “pay as they go”, as data-collection overhead is limited to exactly those packets that satisfy the query. We implemented our system on top of the Pyretic SDN controller and evaluated its performance on a campus topology. Our experiments indicate that the system can enable “interactive debugging”— compiling multiple queries in a few seconds—while fitting rules comfortably in modern switch TCAMs and the automaton state into two bytes (e.g., a VLAN header). | en_US |
dc.format.extent | 207 - 222 | en_US |
dc.language.iso | en_US | en_US |
dc.relation.ispartof | 13th USENIX Symposium on Networked Systems Design and Implementation | en_US |
dc.rights | Final published version. This is an open access article. | en_US |
dc.title | Compiling Path Queries | en_US |
dc.type | Conference Article | en_US |
pu.type.symplectic | http://www.symplectic.co.uk/publications/atom-terms/1.0/conference-proceeding | en_US |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
CompilingPathQueries.pdf | 450.48 kB | Adobe PDF | View/Download |
Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.