Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API World 2020 Pro Stage Talk

Muktesh
October 29, 2020

API World 2020 Pro Stage Talk

Microservice Debugging

Muktesh

October 29, 2020
Tweet

More Decks by Muktesh

Other Decks in Technology

Transcript

  1. ABOUT ME • Senior Software Engineer at Adobe • Interested

    in open source, cloud and technology evangelism • Open Source Advocate and Contributor to 20 + Open Source Projects (Hystrix, Servo, Contour, Spinnaker, OpenTracing, Istio, Liferay etc.) • Founder of Sunnyvale Java User Group, GDG Sunnyvale • Docker Mentor • Presented into various conferences (OSCon, APIStrategy, JavaOne,API World, DockerCon, ScaleByTheBay) about microservice debugging, resilient system design, Cloud native Applications, API best practices. @mukteshkrmishra @mukteshkrmishra
  2. MICROSERVICE ARCHITECTURE: A SYMPHONY HETEROGENOUS DISTRIBUTED RESOURCES MULTI-PASS https://medium.com/free-code-camp/a-note- on-distributed-systems-3c796f1eb0a0

    https://medium.com/@hemantchhonkar/this- article-mainly-focuses-on-the-basics-about- microservices-be1917ddaaf1 https://medium.com/@tomasz_96685/saga- pattern-and-microservices-architecture- d4b46071afcf
  3. ENOUGH OF THE PROBLEMS, WHAT CAN WE DO? I need

    enough information I need visibility I should stop bad guys ASAP Who is the bad guy? https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team-planning-to-take-down-thanos
  4. DEVELOP CODE AND INFRA WITH OPERATIONAL EXCELLENCE MINDSET Logging Structured

    Common Formatted https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team- planning-to-take-down-thanos https://cloud.google.com/logging/docs/structured-logging
  5. DEVELOP CODE AND INFRA WITH OPERATIONAL EXCELLENCE MINDSET Observability Distributed

    Tracing Call Graphs https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team- planning-to-take-down-thanos
  6. DEVELOP CODE AND INFRA WITH OPERATIONAL EXCELLENCE MINDSET Control Switches,

    bounded architectural contexts Aware about surroundings • Participant systems • Know the limits • Leverage Throttling Controlled Blast radius • Feature Flags • Circuit Breakers https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team- planning-to-take-down-thanos
  7. DEVELOP CODE AND INFRA WITH OPERATIONAL EXCELLENCE MINDSET Well defined

    SLXs Reduce noise • Audit alerts • Validate alerts Know System boundaries • Define SLOs and SLIS from scratch Smart and actionable Alerts • All alerts should be actionable • Operational rigor should be logged https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team- planning-to-take-down-thanos
  8. WHAT DID WE LEARN THEN? • Loggers and information is

    important • Architecture consists of components • Call graphs should be traceable • Service Level Notations should be a part of design (shift left) https://geektyrant.com/news/new-clip-from-avengers-endgame-shows-the-team- planning-to-take-down-thanos