Share E-Book

Distributed Tracing in Practice (Austin Parker)(Z-Library)

Author Austin Parker

Technology
Language English

Most applications today are distributed in some fashion. Monitoring the health and performance of these distributed architectures requires a new approach. Enter distributed tracing, a method of profiling and monitoring applications—especially those that use microservice architectures. There's just one problem: distributed tracing can be hard. But it doesn't have to be. With this practical guide, you'll learn what distributed tracing is and how to use it to understand the performance and operation of your software. Key players at Lightstep walk you through instrumenting your code for tracing, collecting the data that your instrumentation produces, and turning it into useful, operational insights. If you want to start implementing distributed tracing, this book tells you what you need to know. You'll learn: The pieces of a distributed tracing deployment: Instrumentation, data collection, and delivering value Best practices for instrumentation (the...

Format EPUB
Size 4.2 MB
94
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
# Distributed Tracing in Practice — Reading Guide ## 【One-Line Pitch】 A practical, vendor-neutral guide to understanding, deploying, and getting real value from distributed tracing in microservice architectures—written by the people who built Dapper at Google and founded Lightstep. Essential reading for backend engineers, SREs, and platform teams moving beyond "guess-and-check" debugging. ## 【Book Arc】 - **Opening (~0%–9%)**: The origin story of distributed tracing, told through Ben Sigelman's firsthand account of building Dapper at Google in 2005—why logs and metrics stopped being enough when software moved from one computer to thousands, and how the first production-grade tracing system was born. - **Early (~9%–25%)**: The problem space—why distributed architectures create "deep systems" where failures become obfuscated, inconsistent, and decentralized, and why traditional monitoring tools leave teams flying blind when requests span hundreds of services. - **Early (~25%–34%)**: The case for distributed software (scalability, reliability, maintainability) contrasted with the operational nightmare it creates—the "microservices murder mystery" where monitoring tells you where the body is but not why the murder happened. - **Middle (~38%–47%)**: Core concepts—what a trace actually is (a single logical request spanning services), how tracing addresses the three pain points of obfuscation, inconsistency, and decentralization, plus real-world case studies showing measurable wins (an 85% reduction in email latency, faster incident root-causing). - **Middle (~47%–53%)**: Transition from theory to practice—how tracing fits into a modern observability platform, and what the book will cover in terms of instrumentation, data collection, and turning trace data into operational insights. ## 【Key Takeaways】 - **Distributed tracing is correlated logging for distributed systems** (Early): It links data across services for a single logical request, enabling performance profiling, production debugging, and root-cause analysis. This is the foundational definition everything else builds on. - **Traditional telemetry fails at scale** (Opening): Logs and metrics from individual machines tell only "a sliver of the story" when a single request touches hundreds of services. Tracing emerged specifically to fill this visibility gap. - **Distributed architectures create three specific pain points** (Early): Obfuscation (cause and effect drift apart), inconsistency (component states diverge), and decentralization (critical data scattered across thousands of instances). Tracing addresses all three by design. - **A trace is a request's complete journey** (Middle): Each component does work in response to an RPC; a trace couples all that data together at analysis time, letting you ask questions like "What happens to my API when this other service is down?" - **Tracing delivers measurable business value** (Middle): Real case studies show an email platform cutting send time by 85% by removing a redundant Redis loop, and a video platform identifying a vendor's Kafka issue before the vendor did. This isn't theoretical—it's operational ROI. - **Tracing is central to modern observability, not an isolated tool** (Middle): In aggregate, traces provide context that helps filter and rank other telemetry, making them the hub of an observability platform rather than a standalone debugging aid. - **Adoption is hard, but the fundamentals are proven** (Early): Even Dapper's creators were told "start there" when proposing ambitious extensions—getting basic tracing into production is the real accomplishment. The discipline is young and still evolving. ## 【Reading Tips】 - **Skim the foreword and introduction** (~0%–9%) if you're already familiar with tracing concepts—the Dapper origin story is engaging but not technically essential. If you're new to the field, read it carefully; it frames why tracing matters. - **Deep-read the problem-space chapters** (~25%–38%): The "deep systems" and "microservices murder mystery" framing gives you the vocabulary to justify tracing investments to stakeholders. This is where the book's core argument lives. - **Pay attention to the case studies** (~44%–47%): These concrete examples (email platform, industrial data, health/fitness, video delivery) are the best ammunition for building a business case for tracing in your own organization. - **Don't skip the definitions** (~38%–44%): The explanation of what a trace is, how it maps to RPCs, and how it addresses obfuscation/inconsistency/decentralization is the conceptual foundation for the rest of the book's practical guidance. - **Use the GitHub supplemental material** (~53%): The book references downloadable code examples and exercises—grab these early if you want to follow along with hands-on work. ## 【Coverage Limits】 This guide covers the book's opening and middle sections (roughly the first half), establishing the "why" and "what" of distributed tracing. The excerpts do not cover the book's later practical sections on instrumentation best practices, data collection architecture, or advanced analysis techniques—those require reading the full text. ##

Passage locations

Excerpt 1
al sales department: 800-998-9938 or corporate@oreilly.com . Acquisitions Editor: John Devins Development Editor: Sarah Grey Production Editor: Katherine Toz...
View in text
Excerpt 2
ributed traces must be part of the solution to this problem. They are the only window we have into how the hundreds of services in deep, multilayered microse...
View in text
Excerpt 3
architecture, you should be able to identify the difference. A pool of cache nodes scales wide (as in, you simply add more instances to handle demand), but o...
View in text
Excerpt 4
ing it on other services and quantify the value of the work. An industrial data company was able to use distributed trace data in order to easily compare req...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List