3 ms·
Glad to see for nostalgia, but in 2022 are there any advantages to Pyramid over: * Sanic (has production ready built-in web server..) or Starlette or FastAPI
by geenat 4y ago
Glad to see for nostalgia, but in 2022 are there any advantages to Pyramid over:
* Sanic (has production ready built-in web server..) or Starlette or FastAPI
* Django with async support
As far as I'm aware, any async framework is going to be superior the moment you do any sort of I/O (database, requests, filesystem).
- asplake 4y agoOr Flask. I used Pyramid at work (2009-11) and contributed a couple of enhancements but chose Flask when the time came to do my own thing a few years later
- Lunrtick 4y agoThe author of SQLAlchemy (which recently released great async support) wrote a great post about how async can actually lead to a small decrease in performance compared to the older threading model, at least for db related functions in a web backend context. [1] For websockets or lots of network calls, you can't really beat async though. [1] https://techspot.zzzeek.org/2015/02/15/asynchronous-python-and-databases/ https://techspot.zzzeek.org/2015/02/15/asynchronous-python-a...