Robyn: A fast async Python web framework with a Rust runtime
summary
Robyn is a Python web framework that pairs a Rust runtime (Tokio-backed) with Python handlers to deliver near-native speed, claiming over 500k installs and nearing 2k stars on GitHub. The runtime spawns real OS threads and a multi-threaded router to bypass the GIL, supports sync and async callables, multiple workers, built-in WebSocket and a bundled server (no ASGI adapter required). TechEmpower benchmarks show ~1M requests/min; a CLI, extensions, and consequest caching are already implemented.
AI-written summary · about
chapters (13)
- 0:00Introduction to Robin
- 0:33The origin story
- 1:42Naming the project
- 2:10Philosophy and motivation
- 2:37Performance and architecture
- 2:56Ease of use and servers
- 4:13Scalability at scale
- 4:39Extensibility
- 8:36Application lifecycle tools
- 9:00Building the community
- 16:26The Sparkles organization
- 17:06Closing summary
- 21:05Prisma versus SQL Alchemy
related talks
32mRobyn: A fast async Python web framework with a Rust runtime
10mRobyn - An asynchronous Python web framework with a Rust runtime
34mRust for the Python dev
39mReal-Time Rust in Robotics
41m"Rust for Robotics: Safer, Faster Systems for Autonomous Applications"
36mPumping up Python modules using Rust
28mRLoop: an AsyncIO event loop implemented in Rust
31mPumping up Python modules using Rust
