Sveriges mest populära poddar

ConTejas Code

Lazar Nikolov: How to Maximize Application Monitoring and Performance

88 min • 1 april 2024

Follow me on 𝕏: https://twitter.com/tejaskumar_


Links

- Sentry: https://sentry.io

- Lazar on 𝕏: https://twitter.com/NikolovLazar


In this in-depth podcast episode, we delve into the world of Sentry, a powerful tool designed to enhance software performance and reliability. From the initial introduction to Sentry's comprehensive suite of features, we explore how Sentry instruments a broad array of software, ensuring peak performance and minimal errors. The discussion includes a comparative analysis with TypeScript, highlighting Sentry's unique approach to software instrumentation and its focus on privacy and security.


We further investigate Sentry's capabilities in de-obfuscating code with source maps, offering insights into the nuanced differences between Replay.io, session replay technologies, and Sentry's innovative solutions. The spotlight shines on Sentry's dev-time monitoring, trace propagation within database transactions, and its distinct differentiators that set it apart from competitors. Notably, the episode covers Sentry's report on the most common pitfalls in apps, akin to a Spotify Wrapped but for software errors, providing a deep dive into error and stack proximity reporting with Sentry.


Performance metrics, such as the Apdex score and Core Web Vitals, including Cumulative Layout Shift (CLS), are thoroughly examined, alongside strategies for mitigating CLS and addressing font-related issues like Flash of Unstyled Text (FOUT) and Flash of Invisible Text (FOIT). The episode proposes innovative solutions, such as tree shaking for font glyphs and dynamic font replacement to prevent layout shifts and text visibility problems.


Listeners will gain insights into Sentry's internals, including its architecture, use of Rust, and data storage strategies. The episode also discusses the scale challenges Sentry has overcome and how Sentry employs its own tools for self-monitoring. The conversation concludes with guidance on when to avoid Sentry and reiterates best practices for utilizing Sentry to its full potential, ensuring listeners are equipped with the knowledge to tackle common software performance issues effectively.


Chapters

00:00 - Intro

01:07 - Sponsor

01:51 - Greetings

02:53 - Defining Sentry's Suite of Features

04:43 - How does Sentry instrument a wide variety of software?

09:32 - Sentry compared to TypeScript

12:31 - Sentry and Privacy

16:57 - De-obfuscating Code with Source Maps

19:46 - Replay.io vs. Session Replay and Sentry

21:20 - Sentry Spotlight and Dev-Time Monitoring

25:07 - Propagating a Trace inside a Database Transaction

27:38 - Sentry Differentiators

35:58 - Sentry Report of Most Common Pitfalls in Apps, like Spotify Wrapped but with Sentry

39:42 - Children and error/stack proximity with Sentry reporting

42:22 - The Apdex as a Performance Metric

44:56 - Performance and Core Web Vitals

49:20 - Cumulative Layout Shift (CLS)

54:43 - Where does CLS happen in the rendering process and mitigation steps

58:19 - Fonts as a source of CLS, FOUT (Flash of Unstyled Text), and FOIT (Flash of Invisible Text)

01:05:11 - Free Open Source Project Idea: Tree Shaking for Font Glyphs

01:05:57 - Replacing fonts when loaded to prevent CLS, FOIT, and FOUT

01:08:51 - How Sentry helps with Core Web Vitals

01:11:49 - Sentry Internals: Architecture, Data Stores, Rust

01:17:21 - Scale Problems that Sentry went through

01:19:12 - Does Sentry use Sentry? Sentry on Sentry

01:21:13 - When to Avoid Sentry

01:22:11 - Sentry Salient (Repeating) Best Practices

01:26:10 - Conclusion


Hosted on Acast. See acast.com/privacy for more information.

Kategorier
Förekommer på
00:00 -00:00