We walked through the anatomy of a Web Worker, how to set one up, and how it can be used to solve problems without disaffecting the user experience. Although a contrived example, we stepped through how to use Web Workers to get tweets near a theater based on its geocode.
Some real world use cases for Web Workers include:
Processor-intensive calculations that should not block the general enterprise application flow
Auto-correction and syntax highlighting
Posting images to a message queue
Consuming data in parallel using concurrent AJAX requests
In the next chapter, we will walk through debugging applications. We will cover tools available at our disposal to get under the hood and figure out what is happening in our enterprise applications. We will also cover some powerful techniques using proxies to sniff out problems as they occur.