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

Introduction to Continuous Profiling

Introduction to Continuous Profiling

Continuous profiling provides a lightweight way for monitoring and profiling web applications in real-time, allowing performance issues to be identified and resolved.

This introduction will cover the fundamentals of Continuous Profiling and how it helps detect and preemptively address bottlenecks, interpret profiling data effectively, use optimization tools, and adopt best practices to maintain optimal application performance.

Thomas di Luccio

March 28, 2024
Tweet

More Decks by Thomas di Luccio

Other Decks in Programming

Transcript

  1. • Based in Lyon, France • Former designer and educator

    • Loves cooking and baking • Visual art, storytelling, photography • @thomasdiluccio.bsky.social Thomas di Luccio (He/Him) DevRel @ Platform.sh, Upsun, Blackfire Who am I?
  2. • Deterministic vs Probabilistic observability • Collecting information and making

    sense out of it • Maximizing information while minimizing overhead A talk about:
  3. Observability Ability to witness the real behavior of an app,

    detect bottlenecks, improve and control performance
  4. request #1 request #2 request #3 request #5 request #4

    request #6 request #7 request #8 request #9
  5. request #1 profile request #2 request #3 request #5 request

    #4 request #6 profile request #7 request #8 request #9
  6. Deterministic profiling • Multi-dimensional • Observe ALL functions of the

    designated requests/scripts • Two samples can be compared • A sample always contains reliable pieces of information • Metrics can be derived from samples • Strong overhead
  7. Monitoring sampling rate • Percentage of HTTP and CLI traffic

    to be monitored • Monitoring is both deterministic and probabilistic
  8. request #1 profile request #2 trace request #3 request #5

    request #4 extended trace request #6 automatic profile request #7 request #8 trace request #9
  9. Continuous profiling • Make periodic sampling in ALL of the

    requests/scripts • Holistic observability • Two samples cannot be compared • A single sample contains partial information • Probabilistic observability • Accurate information is derived from a large number of samples • Minimal overhead