This repo contains the source code to go along with the "A Little Rust-y" workshop at QConSF 2024:
In this demo we will start with an existing node.js application, intended to deploy to an AWS lambda environment. We will explore the functionality and performance of the application, use profiling tools to identify bottlenecks, and then surgically replace a small part of the application with some Rust code, called via the node.js program via interop. Afterward we’ll revisit the performance and celebrate the improvements!
This demo does not assume that you have any familiarity with or experience with Rust; we’ll cover the basics that you need to know. By the end of this project you should have enough familiarity to understand how you might apply these techniques to your own application, regardless of what language it’s written in. And you will see that it’s possible to achieve major performance wins (and cost reductions!) with a tiny bit of Rust, without needing to re-write your whole application!
To follow along with the steps of the demo, please refer to this Google Doc (PDF version) that outlines all of the steps.
For more info, visit our website at https://gomomento.com!