Allocate enough memory at the beginning of a batch application to avoid time-consuming reallocation during the process.
在一开始,就给批量应用分配足够的内存,避免处理过程中的内存重分配耗费时间。
For example, a batch application producing a report of all processed data will likely be using sequential operations since all the data in the database needs to be processed anyway.
例如,生成需要处理所有数据的报告的批处理应用程序可能会使用顺序操作,因为数据库中的所有数据无论如何都需要被处理。
If you saw that the overall business process suspends until a key batch application executes and produces needed data, for example, you could redesign the batch application to run more frequently.
例如,如果发现在关键批处理应用程序执行并产生所需的数据前,总体业务流程都处于挂起状态,则可以重新设计该批处理应用程序,以更频繁地运行。
Batch application developers write code that is thread-safe and executes on a single thread.
批处理应用程序开发人员可以编写线程安全的、且在单个线程中执行的代码。
Batch application developers write code that is thread-safe and executes on a single thread.
批处理应用程序开发人员可以编写线程安全的、且在单个线程中执行的代码。
应用推荐