Live-coding a Rust crate for short EC2 jobs (part 2)
Second part of a live-coding stream series where we design and build a Rust crate for running short-lived jobs and experiments on EC2 spot block instances. It's intended for users who are already somewhat familiar with Rust, but who want to see something larger and more involved be built. Part 1 is at https://www.youtube.com/watch?v=Zdudg5TV9i4.
If you enjoyed this, go follow me on Patreon at https://www.patreon.com/jonhoo to see announcements for new videos! The next video is over at https://www.youtube.com/watch?v=RBQwZthJjoM, and covers the start of writing an asynchronous ssh client library.
Note that the microphone was misbehaving for the first 15 minutes, so I've cut the video to start where it started working. Sorry for the somewhat jarring start :)
Some useful chunking points:
0:00:00 Recap + security groups + ssh keypairs
1:06:44 Parallel setup with rayon
2:01:31 Logging with slog
3:21:30 Cleanup with scopeguard
3:37:05 Documenting the crate
4:14:13 Publishing to crates.io + travis
The code is available here: https://github.com/jonhoo/tsunami
Other Videos By Jon Gjengset
2018-11-15 | Building a ranked-choice voting site for new stream ideas |
2018-09-30 | Rust open-source contributions stream |
2018-09-01 | Desktop and editor setup for Rust development |
2018-07-29 | Building an asynchronous ZooKeeper client in Rust (part 3) |
2018-07-15 | Building an asynchronous ZooKeeper client in Rust (part 2) |
2018-07-01 | Building an asynchronous ZooKeeper client in Rust |
2018-06-02 | Live-coding a linked hash map in Rust |
2018-05-20 | Live-coding a Rust crate for cancellable services |
2018-03-31 | Live-coding an asynchronous Rust crate for short EC2 jobs (part 3) |
2018-03-17 | Live-coding a Rust crate for asynchronous SSH connections |
2018-02-24 | Live-coding a Rust crate for short EC2 jobs (part 2) |
2018-02-10 | Live-coding a Rust crate for short EC2 jobs (part 1) |