Live-coding a Rust crate for short EC2 jobs (part 2)

Profile Picture
- Published on Feb 24, 2018🌏 Public

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=Zdudg.... 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=RBQwZ..., 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: - First: recap + security groups + ssh keypairs - Parallel setup with rayon: 1:06:44 - Logging with slog: 2:01:31 - Cleanup with scopeguard: 3:21:30 - Documenting the crate: 3:37:05 - Publishing to crates.io + travis: 4:14:13 The code is available here: https://github.com/jonhoo/tsunami