salvo claims to be simplest rust web framework. is it really?
in this video, chris gives an overview of Salvo and how it's built on-top of the tokio stack.
chris gives an introduction to Salvo, how to get it installed and how to code your first hello world salvo application.
in addition, we do a quick performance test of Salvo and compare the performance to other rust web frameworks such as Rocket.rs and Actix-Web.
We then pull back the layers and look at Salvo's key differentiator which is it's chainable tree routing mechanism and we look at how easy it is to use and code. We do this both by creating custom handlers and some static web applications such as an html page and a react application. we look hooking up middleware such as compression and how easy it is to incorporate into your router.
Finally we discuss the pro's and cons of Salvo and whether you should use in production.
00:00 - intro
00:41 - what is salvo
01:10 - salvo is built on the tokio stack
03:48 - install salvo
06:20 - salvo hello world
11:46 - performance testing salvo with wrk
14:38 - serving up static html pages
10:30 - chainable tree routing with salvo
21:30 - serving public directories
25:12 - using middleware to compress with brotli
27:23 - serving react apps
30:24 - pro's and cons
32:20 - conclusion
Watch video is salvo really the simplest rust web framework? | rustlang | rust programming online without registration, duration hours minute second in high quality. This video was added by user Chris Hay 06 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,499 once and liked it 201 people.