FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Java 21 virtual threads instead of AGI thread pool · Issue #535 · asterisk-java/asterisk-java · GitHub

Repository navigation

Java 21 virtual threads instead of AGI thread pool #535

Description

I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time.
Virtual threads will fit perfectly.

Suggest:
AbstractAgiServer

protected void execute(Runnable command) {
    if (useVirtual) {
        Thread.ofVirtual().start(command);
    } else {
        getPool().execute(command);
    }
}

But don't use threads for AMI Events processing because of high load.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL