3 ms·
I wish I could find the HN comment recently posted which eloquently explained why obsessing over webserver (and by extension, web framework) performance request
by metadat 4y ago
I wish I could find the HN comment recently posted which eloquently explained why obsessing over webserver (and by extension, web framework) performance requests-per-second is foolish.
The closest thing I could find is this:
https://news.ycombinator.com/item?id=34002459 https://news.ycombinator.com/item?id=34002459
The tl;dr is: server requests-per-second is meaningless without realistic loads involving databases and other dependencies. Typically the external factors dominate request processing time.
There might be compelling reasons to spring for Robyn over Flask [0] or FastAPI [1] but RPS shouldn't be one of them.
[0] https://flask.palletsprojects.com/en/ https://flask.palletsprojects.com/en/
[1] https://fastapi.tiangolo.com/ https://fastapi.tiangolo.com/
- dividuum 4y agoThis one? https://news.ycombinator.com/item?id=34364975 https://news.ycombinator.com/item?id=34364975
- metadat 4y agoNot sure if this was it, but you rock for trying to piece it together. This is a good perspective in my humble opinion.
- totalhack 4y agoIf I recall correctly one of the things that slows FastAPI RPS down is pydantic, though there is active development to make a rust-based core for that too which is supposed to be ~10x faster.
- metadat 4y agoPelydantic is it's whole own separate comprised of adequate kindling for a religious war.
- deleted 4y ago[deleted]