Hello all, im currently using Apache Tomcat 8.5.23, which serve json api to a lot of mobile application during production i can see that several request took more than 30seconds response time and it happens because our backend application have dependency to a lot of third party api
enforcing http timeout on device is not feasible due to apps is already on production and alot of people using it timeout on backend to api, is also not feasible so my only option is implementing a default http timeout on tomcat, my plan is, http connection from device to server, that are connected for more than 10second need to be disconnected forcefully on OS level, i can achieved it using crontab and tcpkill option, but it seems less elegant my question is, can i achieved above requirement using apache tomcat.? any file to be configured, thread pool to be tuned, or perhaps enforcing http timeout.? Any help appreciated. Thank you. -- Warm Regards, Edwin