Hacker News new | past | comments | ask | show | jobs | submit login
Tuning Tomcat for a High Throughput, Fail Fast System (netflix.com)
24 points by kilimchoi on July 28, 2015 | hide | past | favorite | 2 comments



> If the number of concurrent requests is near the estimated active threads (8 in our example) then return an http status code of 503.

Once that happens, what are the options? Does a LB forward the request to another app server? Return a 503 to the end-user?

I've had clients that have been unwilling to see the point of view that throttling the workload is, in the end, the right way to go, rather than continuing on and probably eventually hitting total resource exhaustion.


One solution is automatic retry with logarithmic decay in the client.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: