jonashaag / klaus

docker run klaus / pip install klaus — the first Git web viewer that Just Works™.
http://klausdemo.lophus.org
Other
687 stars 101 forks source link

Switch from Flask to starlette? #257

Open julien-c opened 4 years ago

julien-c commented 4 years ago

https://www.starlette.io/ is fast, lightweight and arguably more scalable than Flask

Investigating a switch could be interesting.

jelmer commented 4 years ago

I'd be keen on this (or another asyncio web framework?) as well, since it makes integration into my larger (aiohttp-based) website easier.

jonashaag commented 4 years ago

Open to looking into this if we cannot fix performance issues easily.

jonashaag commented 4 years ago

Any performance issues I have seen so far are either from naive implementation (no caching etc), or — sorry to say this Jelmer — from using Dulwich.

jelmer commented 4 years ago

FWIW I'm mostly interested in asyncio for concurrency rather than performance reasons.

If there are specific scenarios that are slow due to Dulwich I'm happy to follow up; the only ones I'm aware of are #230 and #248