Skip to content

Explore running RakLib without a thread #6294

Open
@dktapps

Description

@dktapps

Description

For years, RakLib has been running within a thread.
However, this creates various issues, reduces flexibility, and the performance gains might not actually be worth it.

RakLib itself is a black box. No one knows how well it performs, but since it's doing relatively little work, it might actually improve performance to take the threads out of the picture.

Moving RakLib onto the main thread would allow for tighter integration between PM and RakLib, making it easier to, for example, directly collect session statistics.

Alternative methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: NetworkRelated to the internal network architecturePerformanceType: EnhancementContributes features or other improvements to PocketMine-MP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions