Skip to content

Performance: Inefficient aiohttp.ClientSession usage causing connection overhead #1188

@macyman1

Description

@macyman1

While reviewing the core HTTP engine, I identified a significant performance bottleneck in the way aiohttp requests are handled. Currently, the engine creates a brand new Client Session form every individual HTTP request, which prevents connection pooling and forces a new TCP/TLS handshake for every probe.

Location:
File: nettacker/core/lib/http.py

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