https://github.com/litmus-web/litmus
A fast python HTTP server inspired by japronto written in rust.
https://github.com/litmus-web/litmus
asyncio pyo3 python rust uvloop webserver
Last synced: about 1 year ago
JSON representation
A fast python HTTP server inspired by japronto written in rust.
- Host: GitHub
- URL: https://github.com/litmus-web/litmus
- Owner: litmus-web
- License: mit
- Created: 2020-10-12T20:28:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-22T13:15:35.000Z (over 4 years ago)
- Last Synced: 2024-11-11T10:42:21.379Z (over 1 year ago)
- Topics: asyncio, pyo3, python, rust, uvloop, webserver
- Language: Rust
- Homepage:
- Size: 458 KB
- Stars: 167
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.codefactor.io/repository/github/litmus-web/litmus)
# Litmus
A fast asynchronous HTTP server and framework written in Rust for Python. To live and die by speed.
## WARNING
This project is intermittently maintained i.e as and when I have some free time to do so. Generally, the LNX project and Lust project take precedence.
## Should I use this server over the existing systems?
Probably not, sure Litmus benches considerably faster than uvicorn with your typical small, plain text response benchmarks (generally 70%+ throughput increase) as soon as you put this into a real world situation I doubt you're going to get over 10% increase, you will probably get lower average latency but again by margins of around 10% so pick and choose your poison.
### Current state of Litmus:
The main server api has been implemented other than the `H2` and `WS` protocol sections.