其实ABAP的编程范式相对其他语言比较简单,没有太多异步操作。除了STARTING NEW TASK可以实现异步调用。
Use ABAP Multi-Thread programming to deal with a real performance issue:

我们做Fiori开发的时候,处理过performance的incident。一个simple operation的roundtrip number不能大于3。2个几乎同时发出的异步操作算1个roundtrip。Fiori的best practice也是尽量用异步操作。

Android
成都Android开发团队2011~2013参与了Customer Briefing app的开发。如果在UI线程里访问了web resource,容易遇到ANR Android Not response的exception。
我记得我当时编程时只要在UI线程做这些事情,API调用会立即报错。

Hybris
看Hybris log就知道了,Hybris服务end user请求通过一个线程池来完成,每个线程类似Netweaver的work process,用的仍是block IO.

这个bio的配置在server.xml里完成:


https:// stackoverflow.com/quest ions/11032739/what-is-the-difference-between-tomcats-bio-connector-and-nio-connector
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2679007/ ,如需转载,请注明出处,否则将追究法律责任。