A little while back in Tokio’s Discord chat server, someone asked a really interesting question: how can you stream a multipart body from an incoming request into an outgoing request? My struggle to answer this really helped me understand Rust async lifetimes. We’ll explore why this is tricky, then design and benchmark a solution.
Is there really any difference in how we reason about an abstract program performance versus a BPF program? Could we use the same techniques and approaches?