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

YouTube

Actix vs Rocket - Rust Lang Web Framework Performance Comparison

Chris Hay via YouTube

Overview

Dive into a comprehensive performance comparison between Actix and Rocket, two popular Rust web frameworks. Learn how to code web servers from scratch using both frameworks, run performance tests on native hardware and Docker, and analyze the results. Explore the TechEmpower rankings to understand how these Rust frameworks stack up against other languages like Node.js with Express. Follow along as the tutorial guides you through creating, compiling, and testing both debug and release builds, as well as setting up multi-stage Docker builds for each framework. Gain insights into whether server performance should be a deciding factor when choosing a web framework for your Rust projects.

Syllabus

- intro
- coding an actix web server
- running actix-web locally
- creating hello world with actix-web
- performance testing actix web server debug
- compiling actix-web release build
- performance testing actix-web release build
- techempower rankings
- creating a multi-stage docker build of actix-web
- running actix-web on docker
- performance testing actix web on docker
- creating a rocket web server
- performance testing rocket debug build
- compiling a release build of rocket
- performance testing rocket release build
- comparing rust web frameworks performance to express node.js
- creating a multi stage docker build of rocket web server
- performance testing rocket on docker
- conclusion

Taught by

Chris Hay

Reviews

Start your review of Actix vs Rocket - Rust Lang Web Framework Performance Comparison

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.