Persistent HTTP connections in REST Adapter 12c
Hi all,
We are using REST adapter in oracle BPEL 12c to make external API calls. The load on the service which makes this call is usually very high in our application and frequently we are seeing connection/scoket timeout while invoking the rest adapter.
Later upon analysis, we found at the NAT/Firewall server that the application server/host is creating TCP connections with the duplicate source ports while sending HTTP requests. If it is a problem with weblogic/soa server or the internal Linux OS is not clear as of now.
But from the TCP dump we noticed it is creating new connection for each request sent to the API, so in order to decrease the sockets created on our server we tried using Keep-Alive in the HTTP connection header while sending the request but we are still seeing connection timeouts now and then and we also found that still new connections are getting created for each request and persistent http connections are not enabled as per the TCP dump.