|
9 | 9 |
|
10 | 10 | # High-Performance Fully Typed API Framework for Django |
11 | 11 |
|
12 | | -Your first question might be: why? Well, consider this: **Faster than _FastAPI_, but with Django ORM, Django Admin, and Django packages**. That’s exactly what this project achieves. Django-Bolt is a high-performance API framework for Django, providing Rust-powered API endpoints capable of 60k+ RPS. Similar to Django REST Framework or Django Ninja, it integrates seamlessly with existing Django projects while leveraging Actix Web for HTTP handling, PyO3 to bridge Python async handlers with Rust's async runtime, and msgspec for fast serialization. You can deploy it directly—no gunicorn or uvicorn needed. |
| 12 | +Your first question might be: why? Well, consider this: **Faster than _FastAPI_, but with Django ORM, Django Admin, and Django packages**. That’s exactly what this project achieves. Django-Bolt is a high-performance API framework for Django, providing Rust-powered API endpoints capable of 188k+ RPS. Similar to Django REST Framework or Django Ninja, it integrates seamlessly with existing Django projects while leveraging Actix Web for HTTP handling, PyO3 to bridge Python async handlers with Rust's async runtime, and msgspec for fast serialization. You can deploy it directly—no gunicorn or uvicorn needed. |
13 | 13 |
|
14 | 14 | ## 🚀 Quick Start |
15 | 15 |
|
@@ -85,13 +85,13 @@ python manage.py runbolt --dev |
85 | 85 |
|
86 | 86 | | Endpoint Type | Requests/sec | |
87 | 87 | | ------------------------------ | ---------------- | |
88 | | -| Root endpoint | **~100,000 RPS** | |
89 | | -| JSON parsing/validation (10kb) | **~83,700 RPS** | |
90 | | -| Path + Query parameters | **~85,300 RPS** | |
91 | | -| HTML response | **~100,600 RPS** | |
| 88 | +| Root endpoint | **~188,100 RPS** | |
| 89 | +| JSON parsing/validation (10kb) | **~128,400 RPS** | |
| 90 | +| Path + Query parameters | **~163,200 RPS** | |
| 91 | +| HTML response | **~164,100 RPS** | |
92 | 92 | | Redirect response | **~96,300 RPS** | |
93 | | -| Form data handling | **~76,800 RPS** | |
94 | | -| ORM reads (SQLite, 10 records) | **~13,000 RPS** | |
| 93 | +| Form data handling | **~143,900 RPS** | |
| 94 | +| ORM reads (SQLite, 10 records) | **~14,800 RPS** | |
95 | 95 |
|
96 | 96 | ### Streaming Performance (Async) |
97 | 97 |
|
|
0 commit comments