Live data from Hacker News

Viewing profile — cirospaciari

cirospaciari

HN member
Joined
Tue, Nov 08, 2022, 8:00 PM UTC
HN karma
169
Public activity
63 items

About cirospaciari

No profile information was provided.

Recent public activity

  1. comment
    Comment #34356009

    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 s…

  2. story
  3. comment
    Comment #34341124

    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…

  4. comment
    Comment #34338279

    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...

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

    I see a lot of people using WSGI with multi-process instead of ASGI, what are you using and why?

  6. comment
    Comment #34337228

    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.

  7. story
  8. comment
  9. comment
    Comment #34331362

    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

  10. comment
    Comment #34328630

    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.

  11. comment
    Comment #34328221

    WOW that's awesome!

  12. comment
    Comment #34327813

    nodejs do this and actually Go fiber uses prefork to do this too

  13. comment
    Comment #34327590

    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

  14. comment
    Comment #34325925

    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 P…

  15. comment
    Comment #34325839

    <3 thanks thats means a lot, i will focus on positive comments and constructive ideas, and keep working hard to do my best.

  16. comment
    Comment #34325576

    https://discord.socketify.dev/

  17. comment
    Comment #34325486

    just wanna see how GraalPython will perform when i finish the HPy version

  18. comment
    Comment #34325472

    Yes you are right!

  19. comment
    Comment #34325256

    you need to pull all git submodules too git submodule update --init --recursive --remote

  20. comment
    Comment #34325041

    thank you.

  21. comment
    Comment #34325033

    one uses pre-fork the other do not use pre-fork

  22. comment
    Comment #34325008

    .so are the pre-built binaries but you can see the native folder code there and also see the projects used in Makefile

  23. comment
    Comment #34324927

    just follow your heart <3 take a breath, just do what you love and makes you happy.

  24. comment
    Comment #34324917

    Python (CPython) is written in C so always will be C, PyPy i think is C too? not sure.

  25. comment
    Comment #34324911

    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/