Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of Dart Isolates in this comprehensive 36-minute tutorial video. Learn how to create high-performance web servers and Flutter applications by leveraging isolates to offload CPU-intensive tasks from the main thread. Dive into the intricacies of event loops in both Dart server-side and Flutter applications, understanding the microtask queue and event queue. Discover how to implement isolates in your Dart code to enhance web server performance and create smoother user interfaces. Compare the performance of low-level Dart web servers with Fastify and Shelf, and see how isolates can further improve their efficiency. Gain practical insights through performance testing and CPU usage observations, equipping you with the knowledge to optimize your backend server-side apps and frontend mobile applications.
Syllabus
- intro
- server side dart web server
- performance testing with wrk
- comparing dart with fastify
- observing cpu usage with dart web server
- dart is a single threaded event loop
- event loops and flutter
- using isolates with our dart web server
- performance testing our isolates
- building a web server with shelf
- performance testing shelf
- using isolates with shelf
- performance testing isolates with shelf
- conclusion
Taught by
Chris Hay