Kevin Uehara
Staff Frontend Engineer, Microsoft MVP, NodeBR Collaborator, GDG Campinas (Google Developer Groups), FrontIn Campinas Organizer, Speaker and Content Tech Creator.
Web Workers: Handling Heavy Processing on the Client Side
JSNation US 2024
18 min
Web Workers: Handling Heavy Processing on the Client Side
In this talk I will bring an overview how we handle with large process on Client Side (WebApp Applications) using Web Api called Web Worker. I'm going to bring a view of a use case that I had to apply web workers and the advantages it brought in heavy processing, called “Rinha Front end” on Brazil, an challenge where we had to process Json files of various sizes just using the client side and without affecting the user experience and blocking the use of the application.
So I this talk I will bring a simple case where using pure Javascript and how to use Web Workers to process out of the main thread and block our interactions with the page. We will create a simple application using vanilla JS and I will introduce you this feature.
So I this talk I will bring a simple case where using pure Javascript and how to use Web Workers to process out of the main thread and block our interactions with the page. We will create a simple application using vanilla JS and I will introduce you this feature.