panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

Investigate FastAPI and possibly switch from Flask to FastAPI

Open fgypas opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. It seems that FastAPI is much more efficient than Flask and has some great features.

Describe the solution you'd like I think it would be great if we (first) investigate and (later) switch the back-end from Flask to FastAPI

fgypas avatar Nov 09 '20 17:11 fgypas

@vsoch Do you have any experience with FastAPI (in comparison to Django or Flask)?

fgypas avatar Dec 16 '20 09:12 fgypas

I've heard of FastAPI and have seen how it can be used alongside, but my preference is for using fewer dependencies, and also more stable (less new) things, so I haven't had the incentive to use it. I would want to see evidence that a Flask or Django API is not sufficiently fast for a use case before deciding it's needed.

vsoch avatar Dec 16 '20 18:12 vsoch