# Runtime Analysis With Brian Kelly Page: https://stenobird.com/podcast/arrested-devops/runtime-analysis-with-brian-kelly Text version: https://stenobird.com/podcast/arrested-devops/runtime-analysis-with-brian-kelly.md Podcast: [Arrested DevOps](https://stenobird.com/podcast/arrested-devops) Published: 2023-11-23T21:52:59+00:00 Episode link: https://www.arresteddevops.com/runtime-analysis/ Audio file: https://media.blubrry.com/arresteddevops/content.blubrry.com/arresteddevops/arrested-devops-podcast-episode197.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/arrested-devops/episodes/runtime-analysis-with-brian-kelly Duration seconds: 2335 ## Resource Runtime analysis provides a new data source by recording application behavior during development to catch flaws before production deployment. Unlike static analysis, it identifies real-world execution patterns like inefficient database queries and unused libraries. ## Highlights - Main idea: Runtime analysis captures dynamic execution data, such as actual function calls and library loads, that static analysis cannot see - Practical takeaway: Developers can use runtime signals to identify N+1 query patterns and optimize resource usage before code reaches production - Failure mode: Over-reliance on noisy automated alerts can lead to developer fatigue, similar to the early days of static analysis tools - Main idea: High-quality runtime tools integrate directly into existing developer workflows, such as via IDE 'run' buttons, rather than requiring separate processes - Practical takeaway: Runtime analysis helps prune dependencies by revealing which libraries are actually loaded and utilized during execution ## Topics Runtime Analysis, DevOps, Software Development Life Cycle, Application Security, Observability, Static Analysis, Performance Optimization, Kubernetes ## Chapters - 3:50 — Introduction to Runtime Analysis: Brian Kelly introduces his background in cybersecurity and the concept of using dynamic application behavior as a data source. - 6:45 — Limitations of Static Analysis: A discussion on how static analysis is becoming commoditized and its inability to detect certain runtime-specific vulnerabilities. - 9:45 — The Cost of Unoptimized Code: How inefficient code patterns, like excessive CPU usage, often fall on SREs to mitigate in production without proper early detection. - 16:05 — Reducing the Attack Surface: Using runtime data to identify and eliminate unused libraries and dependencies to streamline the application. - 18:55 — Integrating with Developer Workflows: How runtime analysis tools act as low-level instrumentation that works seamlessly with existing IDEs and execution commands. - 21:50 — The Value of Definitive Signals: The importance of providing developers with concrete, non-predictive data, such as confirmed N+1 query patterns. - 24:25 — The Future of Security and Analysis: Reflecting on industry shifts toward moving security and performance analysis closer to the developer's daily tasks. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/arrested-devops/episodes/runtime-analysis-with-brian-kelly/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/arrested-devops/runtime-analysis-with-brian-kelly.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.