Settings

Theme

Show HN: Starlette – An asyncio Web framework for Python

starlette.io

8 points by tomchristie 7 years ago · 2 comments

Reader

detaro 7 years ago

Nice to see development around some standardization in that area. The code samples look nicely clean.

related: does anyone have experience with running asyncio web apps in production? What's your server setup like? For toys I've put the asyncio server directly on the web, but that doesn't feel right, and not sure how to use uwsgi etc in this case.

  • tomchristieOP 7 years ago

    There are 3 ASGI servers right now. Daphne, Uvicorn, Hypercorn.

    For production deployments you’ll either want to run them with a supervisor process like supervisors/circus/etc. Or use gunicorn (uvicorn includes a gunicorn worker class).

Keyboard Shortcuts

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