Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gi0baro-dev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
gi0baro-dev
4mo ago
This guy had nice mustache
2.
▲
Reinventing Python's AsyncIO
(blog.baro.dev)
2 points
by
gi0baro-dev
7mo ago
|
0 comments
3.
▲
The future of Python web services looks GIL-free
(blog.baro.dev)
203 points
by
gi0baro-dev
1y ago
|
97 comments
4.
▲
by
gi0baro-dev
2y ago
Granian maintainer here. Can't speak for Robyn author, but in my opinion it's not a valid comparison. The only thing Granian and Robyn have in common is the usage of Rust and PyO3, but that would be like comparing two projects usi
5.
▲
Granian 1.0 Is Out
(github.com)
4 points
by
gi0baro-dev
3y ago
|
1 comments
6.
▲
by
gi0baro-dev
4y ago
Yup: `granian --interface asgi your_module:your_fastapi_app`
7.
▲
by
gi0baro-dev
4y ago
You can check benchmarks https://github.com/emmett-framework/granian/tree/v0.2.2/benc... ;)
8.
▲
by
gi0baro-dev
4y ago
Granian maintainer here. While it might sound "odd", actually having two runtimes running in two different threads is not so strange. This is actually what you end up when spawning multiple Python processes even with uvicorn: each
9.
▲
by
gi0baro-dev
4y ago
True. The "bad" thing about hypercorn is its poor performance, at least for now :/
10.
▲
by
gi0baro-dev
4y ago
Is not needed, is just a different async protocol implementation. Granian supports both interfaces, is a matter of how you want to write your application. As you can see from benchmakrs ( https://github.com/emmett-framework&#
11.
▲
by
gi0baro-dev
4y ago
Granian maintainer here. As other people pointed out, the project relies on the Hyper Rust project, which at the moment doesn't support HTTP/3. Once the project will add support for this, will be implemented in Granian as well.
12.
▲
by
gi0baro-dev
4y ago
Granian maintainer here. We have a couple of services in production at the company I work with, served with granian, they handles ~5k RPM traffic each (not so much) with no particular issues. You can consider the ASGI support quite robust f