I'm interested to know, what is the typical network socket timeout value, used in production today.
I'm currently using 30 seconds in our Java application, but would like to hear what other using, especially for Internet communications.
Thanks.
There is no such thing as a "typical" socket timeout. Rather you should chose the timeout(s) according to the application requirements. Issues such as:
The best strategy is probably to pick some intuitively sensible values, and then tune them.
As a rule of thumb you can use double the expected response time for the transaction. But there is certainly no such thing as a 'typical' timeout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With