1 / 6

declarative distributed debugging

declarative distributed debugging. Kuang Chen, Gunho Lee, Byung-Gon Chun. Motivation. Debugging distributed systems is hard Logs are scattered and numerous Log content can vary Application-specific logs: aka printf statements Tracing: X-Trace

cece
Download Presentation

declarative distributed debugging

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. declarativedistributeddebugging Kuang Chen, Gunho Lee, Byung-Gon Chun

  2. Motivation • Debugging distributed systems is hard • Logs are scattered and numerous • Log content can vary • Application-specific logs: aka printf statements • Tracing: X-Trace • Needed: a more formal and efficient way to use logs in debugging.

  3. State of the Art • Centralized log processing • Master “controller” node collects logs for processing • Techniques for filtering/aggregation before transmission to the controller • Logs size and # of nodes can be huge • Debugging look for needles in the haystack • Many logging mechanisms are ad-hoc (e.g. printf statements) and focus on how instead of what.

  4. New Idea • Towards more efficient and formal distributed debugging • Step one: declarative querying of logs • Queries are sent out. Logs do not move • Specify queries and dataflow declaratively • Process queries in a distributed manner • “Declarative” - a separation of what from how • What: a language for specifying distributed debugging queries and data specification for tracing the causality of events • How: recursive query engine (e.g. P2) and tracing infrastructure (e.g. X-Trace)

  5. Risks • Query language - (OverLog, NDLog, DPLog …coincidence?) • Sufficient for expressing logging and tracing queries? • Implementation • P2 has limited in-memory persistence • Need datacenter specific (potentially real-time) X-Trace data • e.g. Hadoop X-Trace data • Success metrics • Working prototype • e.g. creates causality graph of debugging use case • Show declarative query specification is concise / easy

  6. The Plan

More Related