Skip to main content

Practical Debugging at Scale

Cloud Native Debugging in Kubernetes and Production

  • Book
  • © 2023


  • Helps bring joy to your debugging experience
  • Demonstrates cost savings on log ingestion and server performance
  • Facilitates team cohesion through best practices and vertical integration

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

About this book

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

Similar content being viewed by others


Table of contents (14 chapters)

  1. Basics

  2. The Modern Production Environment

  3. In Practice

Authors and Affiliations

  • Tel Aviv, Israel

    Shai Almog

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.

Bibliographic Information

Publish with us