HackerTrans
トップ新着トレンドコメント過去質問紹介求人

cirospaciari

no profile record

投稿

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

Ask HN: WSGI or ASGI for Python what are you using?

3 ポイント·投稿者 cirospaciari·4 年前·2 コメント

Show HN: Python with Rust powers

github.com
4 ポイント·投稿者 cirospaciari·4 年前·2 コメント

Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

github.com
194 ポイント·投稿者 cirospaciari·4 年前·173 コメント

Show HN: Adding better DX to my package

old.reddit.com
1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

Show HN: I started the development of the fastest ASGI and WSGI Server

old.reddit.com
1 ポイント·投稿者 cirospaciari·4 年前·1 コメント

Show HN: Record breaking performance for Python, 6.2 mi req/s in TechEmPower

techempower.com
16 ポイント·投稿者 cirospaciari·4 年前·2 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

Show HN: Realtime Chat with Python and WebSockets

chat.socketify.dev
2 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

Show HN: This is how i got more performance in WebSockets than Bun using Python

github.com
1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

[untitled]

1 ポイント·投稿者 cirospaciari·4 年前·0 コメント

Show HN: Socketify.py – Maybe the fastest web framework for Python and PyPy

github.com
1 ポイント·投稿者 cirospaciari·4 年前·1 コメント

コメント

cirospaciari
·4 年前·議論
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...
cirospaciari
·4 年前·議論
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
cirospaciari
·4 年前·議論
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...
cirospaciari
·4 年前·議論
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.
cirospaciari
·4 年前·議論
Exactly
cirospaciari
·4 年前·議論
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
cirospaciari
·4 年前·議論
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.
cirospaciari
·4 年前·議論
WOW that's awesome!
cirospaciari
·4 年前·議論
nodejs do this and actually Go fiber uses prefork to do this too
cirospaciari
·4 年前·議論
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
cirospaciari
·4 年前·議論
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.
cirospaciari
·4 年前·議論
<3 thanks thats means a lot, i will focus on positive comments and constructive ideas, and keep working hard to do my best.
cirospaciari
·4 年前·議論
<3 if you need help just open an discussion on github or send me a message on discord https://discord.socketify.dev/
cirospaciari
·4 年前·議論
just wanna see how GraalPython will perform when i finish the HPy version
cirospaciari
·4 年前·議論
Yes you are right!
cirospaciari
·4 年前·議論
you need to pull all git submodules too git submodule update --init --recursive --remote
cirospaciari
·4 年前·議論
thank you.
cirospaciari
·4 年前·議論
one uses pre-fork the other do not use pre-fork
cirospaciari
·4 年前·議論
.so are the pre-built binaries but you can see the native folder code there and also see the projects used in Makefile
cirospaciari
·4 年前·議論
just follow your heart <3 take a breath, just do what you love and makes you happy.