~/talk

Granian: a Rust HTTP server for Python applications

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [web-performance, rust]
links:none on file
slides:none on file

Granian is a Rust HTTP server for Python applications that uses Rust + Tokio + hyper and pyo3 to offload protocol handling from Python, providing SSL termination, HTTP/2 and websockets while serving supports WSGI ASGI RSGI apps. Benchmarks claim 5.7× to 47× throughput vs plain Uvicorn and about 80% higher websocket concurrency on a single process, with lower CPU and ~10% higher RAM; framework-facing RSGI yields 28x static files speed in one Emmett test. Early releases had baggage; use 0.4.2.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13What is Granian?
  3. 1:53Why Granian exists
  4. 9:31Granian architecture
  5. 13:39Performance benchmarks
  6. 17:24The RSGI protocol
  7. 22:28Lessons learned
  8. 25:02Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.