Batch application developers write code that is thread-safe and executes on a single thread.
批处理应用程序开发人员可以编写线程安全的、且在单个线程中执行的代码。
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.
例如,生成需要处理所有数据的报告的批处理应用程序可能会使用顺序操作,因为数据库中的所有数据无论如何都需要被处理。
应用推荐