Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cirospaciari
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
cirospaciari
4y 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
2.
▲
by
cirospaciari
4y 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 WS
3.
▲
by
cirospaciari
4y 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...
4.
▲
Ask HN: WSGI or ASGI for Python what are you using?
3 points
by
cirospaciari
4y ago
|
2 comments
5.
▲
by
cirospaciari
4y 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.
6.
▲
Show HN: Python with Rust powers
(github.com)
4 points
by
cirospaciari
4y ago
|
2 comments
7.
▲
by
cirospaciari
4y ago
Exactly
8.
▲
by
cirospaciari
4y 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
9.
▲
by
cirospaciari
4y 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.
10.
▲
by
cirospaciari
4y ago
WOW that's awesome!
11.
▲
by
cirospaciari
4y ago
nodejs do this and actually Go fiber uses prefork to do this too
12.
▲
by
cirospaciari
4y 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
13.
▲
by
cirospaciari
4y 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.
14.
▲
by
cirospaciari
4y ago
<3 thanks thats means a lot, i will focus on positive comments and constructive ideas, and keep working hard to do my best.
15.
▲
by
cirospaciari
4y ago
<3 if you need help just open an discussion on github or send me a message on discord https://discord.socketify.dev/
16.
▲
by
cirospaciari
4y ago
just wanna see how GraalPython will perform when i finish the HPy version
17.
▲
by
cirospaciari
4y ago
Yes you are right!
18.
▲
by
cirospaciari
4y ago
you need to pull all git submodules too git submodule update --init --recursive --remote
19.
▲
by
cirospaciari
4y ago
thank you.
20.
▲
by
cirospaciari
4y ago
one uses pre-fork the other do not use pre-fork
21.
▲
by
cirospaciari
4y ago
.so are the pre-built binaries but you can see the native folder code there and also see the projects used in Makefile
22.
▲
by
cirospaciari
4y ago
just follow your heart <3 take a breath, just do what you love and makes you happy.
23.
▲
by
cirospaciari
4y ago
Python (CPython) is written in C so always will be C, PyPy i think is C too? not sure.
24.
▲
by
cirospaciari
4y ago
PyPy work well with CPython modules but the performance is not that great, with CFFI performance is really good in PyPY, HPy project will change this https://hpyproject.org/
25.
▲
by
cirospaciari
4y ago
I will take a look! pure python will perform great on PyPy!
26.
▲
by
cirospaciari
4y ago
For sure have room to improve but is very competitive, i will try to archive the 7 mi inthe future, this is a very young framework, i will work harder! https://www.techempower.com/benchmarks/#section=test&runid=1...
27.
▲
by
cirospaciari
4y ago
I see your comment as positive <3 the whole purpose of this framework is to offer better glue, to Python for Web
28.
▲
by
cirospaciari
4y ago
Actually the benchmark is on https://github.com/TechEmpower/FrameworkBenchmarks with is basically this with more headers, but you are right, is not enought, i used TechEmPower because is very popular. I have some issue
29.
▲
by
cirospaciari
4y ago
i did not say that Python is faster than Go, i say that this Python Framework outperforms Golang Fiber framework in troughput. I used https://github.com/TechEmpower/FrameworkBenchmarks and in the future i will write fo
30.
▲
by
cirospaciari
4y ago
Actually uWebSockets and uSockets will perform better than this (2x at least in my local tests), I need to do a lot of copying, instancing and crossing Python GIL. Yeah this test basically shows that Python backed by uWS is crazy fast, but
More ›