Skip to content

Performance of the Server tanked after upgrading to Connexion 3.x (Flask) #2045

Open
@Aakarshit-Sharma19

Description

@Aakarshit-Sharma19

After upgrading from Connexion2.x/Flask/Gunicorn/gevent to Connexion 3.x without gevent, the performance of the service has tanked, since it cannot now handle the same number of requests event though we see the number of threads have been increased multifolds. Even with the fafiling requests, The CPU footprint has almost doubled and memory footprint increased by 15%, even though we have started seeing failed requests during our internal testing.

Is there any resolution for the same, or do we need to move to starlette/asyncio stack to maintain performance?

More likely, the problem lies in the fact that we had gevent before as worker class with gunicorn, which was lighter than threadpool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions