XD blog

blog page

python, web framework

2018-12-01 Choose a web framework

I need to choose a framework to run a website. The first option which comes to many developpers is probably django. But it is slow and it is difficult to know where to start with it. I looked into aiohttp or sanic. I was looking into something more efficient and I found some interesting options such as japronto (uses C), vibora (use Cython), uvicorn, starlette. There was some interesting benchmark here: Web Framework Benchmarks (source code is on github/TechEmpower. The example for Starlette is quite simple and easier to read than any big documentation. japronto seems a bit risky even though it is very promising. One last bjoern. Another benchmark.

<-- -->

Xavier Dupré