阅读背景:

如何在5秒内使用服务器代码执行10个请求?

来源:互联网 

Problems: imagining that you have a query. it takes 5 seconds to be solved. Your users want to request to your api (/test) to get result of the query. They request to your api same time. So if the number of user is 10, the 10th user will wait 50 seconds to get the response. How can they do in 5s?Problems: imagining that you have a query. it t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: