wr
hn
Top
New
Best
Ask
Show
Jobs
Back
c
cirospaciari
Joined 4 years ago
Karma
169
Submissions
63
Member since
Nov 8
View on Hacker News
Recent submissions
Comment · 3 years ago
I really like the simplicity and looking at TechEmPower, looks to be very low overhead (Falcon is still lighter), I think is an awesome framework to start into Python, simple and straightforward. Do you know more people who use it in their day-to-day tasks?
https://www.techempower.com/benchmarks/#section=test&runid=d...
Comment · 3 years ago
ASGI is a newer spec that uses async for everything (what is not really a great ideia if you is not IO bounded), so you can process more than one request at a time with ASGI if you are IO bounded, but have more overhead (a lot more) than WSGI in non IO bounded work
Comment · 3 years ago
Here uvicorn+gunicorn+httptools outperforms nginx-unit with FastAPI and granian is pretty close to uvicorn now
https://www.techempower.com/benchmarks/#section=test&runid=d...
Ask HN: WSGI or ASGI for Python what are you using?
3
cirospaciari
3 years ago
2
comments
Comment · 3 years ago
in the case of socketify is CPython and PyPy running the same code, but both are really fast, in the case of fiber is without prefork and with prefork variants.
Show HN: Python with Rust powers
g
github.com
4
cirospaciari
3 years ago
2
comments
Comment · 3 years ago
Exactly
Comment · 3 years ago
Thanks for all your support and feedback, if you want to see any new features requests, or have any questions related to the project I will be glad to help you <3
Comment · 3 years ago
From uWS docs basically "sends into one single syscall/SSL block", in my understanding corking is basically minimizing to much sends, so it's batching calls.
Comment · 3 years ago
WOW that's awesome!
Comment · 3 years ago
nodejs do this and actually Go fiber uses prefork to do this too
Comment · 3 years ago
Python GIL is the problem for multithreading, but I think I have a solution to not need 8 DB pools, soon o will post about it. But yeah it's a waste
Comment · 3 years ago
postgresql can work with psycopg2 but is not the same performance as psycopg2cffi , i will integrate some databases to PyPy, and also HPy project will bring any Cython library to PyPy with basically the same performance or better.
Comment · 3 years ago
<3 thanks thats means a lot, i will focus on positive comments and constructive ideas, and keep working hard to do my best.
https://www.techempower.com/benchmarks/#section=test&runid=d...