Re:Uvloop: Fast Python networking
by jsjohnst on Wednesday May 04, 2016 @09:22AM
(#11628102)
Forgive me if I'm misunderstanding what you're looking for, but doesn't Tornado fit that bill?
[ Parent
| on HN ]
Tornado still too low level.
- It's verbose compared to flask.
- It reinvent the wheel, while flask uses great components such as werkzeug.
- If you want to make a component, it's complex.
- It doesn't come battery included for the Web like Django, just the bare minimum.
- It misses the opportunity to provide task queues, RPC or PUB/SUB which are key components to any modern stacks are made easily possible by having persistent connections.
- It ignores async/await potential of unifying threads/process/asyncio and don't allow easy multi-cpu.
Don't get me wrong, I think tornado is a great piece of software, but it's not match against innovative projects we see in Go or NodeJS such as Meteor.We will have to agree to disagree on many of your points as they are mostly personal opinions, but the last one is flat wrong. Tornado has for a long time had great support for fully leveraging all CPU cores. Happy to show sample code if you like.
My mistake. My knowledge on tornado is dated.
Yeah, it's hard for Python to compete with languages like Go and Erlang that multiplex IO in the runtime.