Skip to content

Improve performance for large number of protocol transactions #11

@m-ronnblom

Description

@m-ronnblom

In case a single client (i.e. libpaf context) has a large number of concurrent protocol transactions toward a server, processing latency per transaction increases.

This may happen in case a client decides to publish a very large number of services at the same time, or in case it has a very large number of subscriptions. "Large" here need to be something in the thousands or tens of thousands to become noticeable.

This slow-down is primarily due to the fact that ongoing transactions are stored in a linked list, and finding a particular transaction requires O(N) time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions