上QQ阅读APP看书,第一时间看更新
Concurrency
Applications are designed for scalability to focus on concurrency. Applications should use asynchronous patterns to ensure that client requests do not wait indefinitely to acquire resources if resources are busy serving other requests. Implementing asynchronous patterns in code ensures that threads do not wait for resources and systems are exhausted of all available threads. Applications should implement the concept of timeouts if intermittent failures are expected.