»Schedule // Talk
October 16, 2026
11:00–11:30
Side Track

Designing State Machines for Streaming Proxies in Rust

A single HTTP exchange can involve partially consumed request bodies, concurrent upstream and downstream progress, mid-stream failures, conditional buffering decisions, and connection reuse that must leave the transport in a well-defined state.

This talk examines how to model a proxied exchange as an explicit state machine whose transitions encode protocol and lifecycle events such as establishing a TCP connection, completing a TLS handshake, and returning a connection to the keepalive pool. The session covers practical Rust designs, including coordinating bidirectional streaming while remaining cancel-safe, buffer management and reuse, and how to keep connections alive for reuse.

The goal is to equip Rust engineers with the mental models and architectural patterns needed to build robust streaming proxies.

Speaker

Sanskar Jaiswal

Sanskar works as a software engineer at Kong Inc. working on building serverless API gateways. He's also a maintainer of Flux and Flagger. He is passionate about contributing to OSS with him being involved in Kubernetes SIG-Network projects and kube-rs. He loves reading about distributed systems and networking, watching history documentaries and is an avid football fan.

Fun fact: Sanskar did not major in CS but in Electronics. His tech journey started through open source.