Enable Asynchronous TCP/IP sockets I/O for Liberty on z/OS
By default, the Liberty server uses a Java implementation to handle incoming TCPIP requests. To obtain improve performance and scalability in many environments, enable the asynchronous TCP/IP sockets I/O for Liberty (AsyncIO) on z/OS service and take advantage of native z/OS services.
To enable the AsyncIO on z/OS service, you define the security setup to permit the Authorized AsyncIO Service(ZOSAIO):
- Start the Angel process:
START bbgzangl
See Administering Liberty on z/OS.
RDEF SERVER BBG.AUTHMOD.BBGZSAFM.ZOSAIO UACC(NONE) PERMIT BBG.AUTHMOD.BBGZSAFM.ZOSAIO CLASS(SERVER) ACCESS(READ) id(wlpuser1)
See Enable z/OS authorized services in Liberty for z/OS.
What to do next
This procedure enables the AsyncIO on z/OS service by default. However, if the AsyncIO z/OS service is enabled, we can disable it within a particular server by adding the following property to the bootstrap.properties file:
com.ibm.ws.tcpchannel.useZosAio=false