XNIO is a simplified low-level I/O layer which can be used anywhere you are using NIO today. It frees you from the hassle of dealing with Selectors and the lack of NIO support for multicast sockets and non-socket I/O, while still maintaining all the capabilities present in NIO, and it opens the door to non-obvious optimizations.
Questions tagged [xnio]
6 questions
2
votes
1 answer
Undertow becomes unresponsive
We have just recently started experiencing a problem with the spring boot (v2.7.4) undertow server (which is version 2.2.22-Final).
After running fine for sometime, the server becomes unresponsive to http requests.
This is running in docker, based…

Forge_7
- 1,839
- 2
- 20
- 19
0
votes
2 answers
How to set multiple worker threads for a undertow server listener?
I am trying to create multiple worker threads for the undertow server so that multiple threads are available to process the request from the client concurrently.
I tried setting them at the server level using UndertowOptions and Options. Tried…

Ankit
- 99
- 8
0
votes
1 answer
How to disable JBOSS-LOCAL-USER SASL mechanism in Wildfly 14
How can I disable JBOSS-LOCAL-USER SASL authentication mechanism in Wildfly 14 client. I have set the following property in jboss-ejb-client.properties: …

Pulkit
- 19
- 2
0
votes
1 answer
Why does JMX show XNIO ConnectionCount -1?
So I am trying to get JMX metrics on my Undertow webserver's number of open connections.
I used JMXTerm and selected the following bean because it is bound to port 8080, which is what my application is running on:…

Nick Collins
- 21
- 3
0
votes
1 answer
When Undertow server feeds org.xnio.XnioWorker#taskPool?
I am trying to understand how org.xnio.nio.WorkerThread works. As I see it is extended by org.xnio.nio.NioXnioWorker and overrides java.util.concurrent.Executor#execute which "put" Runnable to taskPool. But during debug spring web flux applciation…

Cherry
- 31,309
- 66
- 224
- 364
-1
votes
0 answers
Undertow threads vs Xnio worker threads
I am trying to understand the difference between
Undertow.builder().setIoThreads(0);
Undertow.builder().setWorkerThreads(0);
from this…

Brian
- 556
- 6
- 26