Talk

Peak performance with partytown: Tackling the 3rd party challenge in big enterprises - a case study

Aug 7
Aug 7, 2024 Vienna, Austria

Julian Jandl

Julian Jandl

Angular Vienna Attend the event
jj - angular vienna - 2024

45% of all requests made by websites are third-party requests. A huge portion of them are scripts. Scripts you cannot control, nor improve. Whatever they are executing, they are competing with your application code about the priority on the main thread.

Bloating the main thread with more execution than necessary ultimately screws the runtime performance and responsiveness of our applications - especially for mobile users.

In this talk, I’m going to introduce you to partytown. A library that helps you to execute 3rd party scripts in a sandboxed worker thread - making use of true multi threading in the browser. To start things off, I’m taking you on a deep dive into the realms of the Web Workers API. You are going to learn what Web Workers are, how they operate, what limitations they bring and how partytown offers a unique approach to integrate Workers into your web application.

To make things digestible, I’m going to share the whole story of how we integrated partytown into a billion dollar application. You will get insightful details about pitfalls, dirty hacks and partytown improved the applications performance to the peak.

Peak Performance With Partytown - Angular Vienna