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

Observability and Control Theory

Piyush Verma
November 16, 2019

Observability and Control Theory

Piyush Verma

November 16, 2019
Tweet

More Decks by Piyush Verma

Other Decks in Programming

Transcript

  1. Observability
    & Control Theory

    View full-size slide

  2. Monitoring!!
    Answer

    View full-size slide

  3. ● You monitor what you know
    ● You react after it has failed.
    ● What about unknown-unknowns?
    ● Doesn’t avoid failures.
    ● Tells something broke and now it isn’t.
    ● Always a comparative operator.
    Question: What is Monitoring?

    View full-size slide

  4. ● Systems are Distributed.
    ● What about?
    ○ Accuracy
    ○ Latency
    ○ Correctness
    ○ Consistency
    ● It’s till or from Now.
    What are we missing?

    View full-size slide

  5. Monitoring Timeline
    Late 2000s
    ● SOA
    Early 2010
    ● Microservices
    1990s
    ● Servers
    2000s
    ● Monolith
    Now
    Lambda

    View full-size slide

  6. The REAL question
    If a tree falls in a forest and nobody
    heard it, did it make a sound?

    View full-size slide

  7. The REAL answer
    All falling trees
    yield Logs.

    View full-size slide

  8. Software, by default, is opaque.
    To debug & control a running
    system,
    you need observation pre-built.

    View full-size slide

  9. Observability

    View full-size slide

  10. Need
    - Debugging
    - Pattern Detection

    View full-size slide

  11. Unlike monitoring, observability
    is not failure-centric.
    If your job allows, you can use
    it to understand system
    performance, just-like-that.
    ¯\_(ツ)_/¯

    View full-size slide

  12. Control Theory

    View full-size slide

  13. Control Theory

    View full-size slide

  14. TCP Flow Control

    View full-size slide

  15. TCP Flow Control

    View full-size slide

  16. TCP Congestion Control

    View full-size slide

  17. TCP Congestion Control

    View full-size slide

  18. Practical Applications

    View full-size slide

  19. ● Constrained Optimization Problems
    ● Constraint Scaling Problems
    Practical Applications

    View full-size slide

  20. Auto-Scaling

    View full-size slide

  21. Load-Balancer

    View full-size slide

  22. Progressive Streaming

    View full-size slide

  23. Software, by default, is opaque.
    To debug & control a running
    system,
    you need observation pre-built.

    View full-size slide

  24. Thank You
    - Piyush Verma

    View full-size slide