Перейти к содержимому

System design episode 14: observability & distributed tracing in microservices

CodeTav Management

0:00 / 0:00

System design episode 14: observability & distributed tracing in microservices

41 просмотр · 10 дней назад
CodeTav Management
287 подписчиков
41 просмотр · 10 дней назад
In System Design Episode 14, we explore Observability and Distributed Tracing in Microservices and understand how modern distributed systems can be monitored, debugged, and analyzed effectively. In a microservices architecture, a single user request can travel through multiple services, databases, message brokers, and external APIs. When something becomes slow or fails, finding the root cause can be challenging. In this episode, we break down observability in simple and practical terms. Topics Covered what is observability? monitoring vs observability three pillars of observability logs, metrics and traces distributed tracing trace and span trace id vs span id correlation id trace context propagation synchronous vs asynchronous tracing distributed tracing with kafka opentelemetry automatic vs manual instrumentation trace sampling structured logging important microservices metrics red method use method slos and alerts debugging slow microservices real-world production debugging scenario complete observability architecture system design interview approach Real-World Example We also solve a practical production scenario: "One API suddenly becomes slow. How do you identify which microservice is causing the problem?" The debugging workflow covered in this episode is: metrics → trace → slow span → logs → dependency/resource metrics → root cause → fix → verify The key takeaway is simple: metrics tell us that something is wrong, traces help us locate where it is wrong, and logs help us understand why it is wrong. This episode is useful for Java developers, Spring Boot developers, backend engineers, microservices developers, software architects, and anyone preparing for system design interviews. channel: codetav management series: system design series episode: 14 #systemdesign #systemdesigninterview #microservices #microservicesarchitecture #observability #distributedtracing #opentelemetry #logs #metrics #traces #traceid #spanid #correlationid #contextpropagation #structuredlogging #redmethod #usemethod #slos #faulttolerance #backenddevelopment #java #springboot #softwarearchitecture #distributedsystems #codetavmanagement