HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cirospaciari

no profile record

Submissions

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

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

3 points·by cirospaciari·4 yıl önce·2 comments

Show HN: Python with Rust powers

github.com
4 points·by cirospaciari·4 yıl önce·2 comments

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

github.com
194 points·by cirospaciari·4 yıl önce·173 comments

Show HN: Adding better DX to my package

old.reddit.com
1 points·by cirospaciari·4 yıl önce·0 comments

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

old.reddit.com
1 points·by cirospaciari·4 yıl önce·1 comments

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

techempower.com
16 points·by cirospaciari·4 yıl önce·2 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

Show HN: Realtime Chat with Python and WebSockets

chat.socketify.dev
2 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

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

github.com
1 points·by cirospaciari·4 yıl önce·0 comments

[untitled]

1 points·by cirospaciari·4 yıl önce·0 comments

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

github.com
1 points·by cirospaciari·4 yıl önce·1 comments

comments

cirospaciari
·4 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
Exactly
cirospaciari
·4 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
WOW that's awesome!
cirospaciari
·4 yıl önce·discuss
nodejs do this and actually Go fiber uses prefork to do this too
cirospaciari
·4 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
<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 yıl önce·discuss
<3 if you need help just open an discussion on github or send me a message on discord https://discord.socketify.dev/
cirospaciari
·4 yıl önce·discuss
just wanna see how GraalPython will perform when i finish the HPy version
cirospaciari
·4 yıl önce·discuss
Yes you are right!
cirospaciari
·4 yıl önce·discuss
you need to pull all git submodules too git submodule update --init --recursive --remote
cirospaciari
·4 yıl önce·discuss
thank you.
cirospaciari
·4 yıl önce·discuss
one uses pre-fork the other do not use pre-fork
cirospaciari
·4 yıl önce·discuss
.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 yıl önce·discuss
just follow your heart <3 take a breath, just do what you love and makes you happy.