0

I am currently reading about async programming and it seems to have a lot of advantages.

  • But for web development should I make every request asnyc?

  • Does async have disadvantages?

I am using Java with Play2 and async isn't really to best looking thing. http://www.playframework.org/documentation/2.0.2/JavaAsync

4

1 回答 1

1

你得出异步是最好的结论的依据是什么?这完全取决于用例。如果您选择异步处理,您需要考虑错误处理,将结果传达给用户。

于 2012-08-08T11:41:43.990 回答