squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

Support for Bottle? #89

Open vschiavoni opened 7 years ago

vschiavoni commented 7 years ago

It'd be super cool to be able to use japronto as server backend in Bottle. Currently, it supports the backends listed https://bottlepy.org/docs/dev/deployment.html

squeaky-pl commented 7 years ago

Bottle is based on WSGI which by design is blocking. It's possible to build an adapter but it would take away most performance benefits. There are some things that can be done about but it would be a major refactor. Currently it is not a priority for me at all unless somebody steps up to the work.