4

I was wondering if there is already some http-server-framework using the new asyncio features. I know about aiohttp, but it's really just a simple server.

In addition: The WSGI standard is not async-driven, is there any work happening for updating the specs ?

1

2 Answers 2

2

I wrote an implementation based on the waitress web server: https://github.com/gawel/aiowsgi

It has pretty much the same performances than waitress (at least with ab -k on a small application) It may become faster than waitress if you use a lot of asyncio ready third party libraries.

The server allow you to use coroutines in your application but since most web frameworks are not asyncio ready you have to use your own code. (it work with a framework but you'll not be able to use coroutines in your application...)

Sign up to request clarification or add additional context in comments.

Comments

2

In regards to the WSGI part of your question, the two are in the process of being integrated: http://uwsgi-docs.readthedocs.org/en/latest/asyncio.html

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.