Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build a Tiny Dart Language Web Server with Docker Multi-Stage - DartLang Tutorial - Dart Server Side

Chris Hay via YouTube

Overview

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

Reviews

Start your review of Build a Tiny Dart Language Web Server with Docker Multi-Stage - DartLang Tutorial - Dart Server Side

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.