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.
Reactions are currently unavailable
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
But don't use threads for AMI Events processing because of high load.