Practical Debugging at Scale: Cloud Native Debugging in Kubernetes and Production

  • 3h 38m
  • Shai Almog
  • Apress
  • 2023

Overhaul your debugging techniques and master the theory and tools needed to debug and troubleshoot cloud applications in production environments. This book teaches debugging skills that universities often avoid, but that typically consume as much as 60% of our time as developers. The book covers the use of debugger features such as tracepoints, object marking, watch renderers, and more. Author Shai Almog presents a scientific approach to debugging that is grounded in theory while being practical enough to help you to chase stubborn bugs through the maze of a Kubernetes deployment.

Practical Debugging at Scale assumes a polyglot environment as is common for most enterprises, but focuses on JVM environments. Most of the tooling and techniques described are applicable to Python, Node, and other platforms, as well as to Java and other JVM languages. The book specifically covers debugging in production, an often-neglected discipline but an all too painful reality. You’ll learn modern techniques around observability, monitoring, logging, and full stack debugging that you can put to immediate use in troubleshooting common ailments in production environments.

You Will Learn:

  • The scientific method underlying the process of debugging
  • Debugger capabilities such as tracepoints and marker objects
  • The correct use of less understood features such as exception breakpoints
  • Techniques for tracing issues in production Kubernetes environments
  • Observability and monitoring to resolve production problems
  • Industry best practices for common tooling such as logging
  • Profiling to understand performance and memory problems

Who This Book Is For

Developers in Java and JVM-related languages who want to improve their debugging skills and production reliability; and developers of cloud applications who are facing the pain of production bugs that are hard to replicate and fix

About the Author

Shai Almog is an entrepreneur, open source hacker, speaker, author, blogger, Java rockstar, and more. He is a former Sun (later Oracle) developer with more than 30 years of experience. Shai has built JVMs, development tools, mobile phone environments, banking systems, startup/enterprise backends, user interfaces, development frameworks, and much more. He speaks at conferences all over the world and has shared the stage with luminaries such as James Gosling (father of Java). Shai is an award-winning, highly rated speaker with deep technical experience to share and he has a knack for engaging his audience.

In this Book

  • Introduction
  • Know Your Debugger
  • The Checklist
  • The Auxiliary Tools
  • Logging, Testing, and Fail-Fast
  • Time Travel Debugging
  • Debugging Kubernetes
  • Serverless Debugging
  • Fullstack Debugging
  • Observability and Monitoring
  • Developer Observability
  • Tools of Learning
  • Performance and Memory
  • Security
  • Bug Strategies
SHOW MORE
FREE ACCESS