Skip to content

![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg) #8

Description

@bernoussama

medium

The tun_listener spawns a new task for every incoming packet. This "spawn-per-packet" model can be inefficient and lead to resource exhaustion under high packet load due to scheduler overhead and memory consumption. Consider using a bounded worker pool to limit concurrency.

Originally posted by @gemini-code-assist[bot] in #7 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions