Settings

Theme

Modern Python full stack with asyncio, Mypy, Next.js 12 and GraphQL

github.com

3 points by jokull 4 years ago · 2 comments

Reader

swuecho 4 years ago

read a blog claim that asyncio does not faster than normal python code. so why async?

  • jokullOP 4 years ago

    Good question. Performance is only one aspect of asyncio. Being able to pass co-routines around, parallelize I/O and make use of things like Starlette's background tasks is the main reason in my mind. Performance is not an issue if you have a business to pay for 20-50% as many app instances. And I do believe the results of those benchmarks are contested, so asyncio can perform as well if not better.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection