670020c Use flask and gunicorn instead of aiohttp.

Authored and Committed by cverna 4 years ago
    Use flask and gunicorn instead of aiohttp.
    
    This commit moves mdapi from the aiohttp framework to flask. This
    is done since there is little interest in using aiohttp because all
    the call to sqlite are io blocking. There is no asyncio driver for sqlalchemy
    and sqlite.
    Also performance with Flask and 4 gunicorn workers are better than the
    performances achieved with aiohttp.
    
    Signed-off-by: Clement Verna <cverna@tutanota.com>
    
        
file modified
+3 -2
file modified
+7 -20
file modified
+25 -8
file removed
-5
file removed
-12
file removed
-202
file modified
+81 -262
file modified
+14 -14
file modified
+8 -33
file removed
-20
file modified
+2 -4
file modified
+42 -62
file modified
+34 -45