Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to build a high-performance web server using the Dart programming language and Docker multi-stage builds in this comprehensive tutorial video. Explore Dart's basic syntax and techniques, including cascades, while creating a fast server-side application. Follow along as the instructor guides you through project setup, server implementation, performance testing with wrk, and compiling the Dart binary. Dive into Docker integration, creating a Dockerfile, and optimizing the image size through multi-stage builds. Discover how to reduce the final Docker image to a mere 9MB using Debian Buster Slim and scratch images. By the end of this 29-minute tutorial, you'll have the skills to create an efficient Dart web server and package it into a compact Docker container, setting the foundation for future performance enhancements using Isolates.
Syllabus
introduction
create the dart project - hello dart
create a dart web server
performance testing using wrk
compiling the dart binary
creating a dart dockerfile
build and run the docker image
performance testing the docker image
multi-stage docker build with debian buster slim
multi-stage docker using a scratch image
conclusion
Taught by
Chris Hay