In report generation, there are both ways to generate a large number of reports on a regular basis and ways to generate necessary reports only when necessary. Therefore, the use and operation of system performance can be optimized by combining the characteristics of the generated reports.
Real-time report generation mode
When a user wants to generate a report, he can send a request to the report server to generate the report in real time. Generating a large number of reports will increase the load on the report server and may cause other users to be unable to generate reports in real time. Therefore, this mode is suitable for processing a small number of reports.
Asynchronous report generation mode
When a user needs to generate a report, a request is sent to the batch processing server. The batch server sends commands to the report server at the specified batch runtime to generate the report. Note that when the user sends a report generation request to the batch server, the report will not be generated immediately. In addition, because sending a command to generate a report to a report server when it is not in use can make full use of server resources, it is suitable for processing medium-sized reports.
Report batch generation mode
Sends commands to the report server to generate reports when the batch task runs. This mode is suitable for payroll and other situations where a large number of reports need to be generated on a specific date. It can be used as an effective means to ensure sufficient resources of the server in advance without conflicts with other batch tasks.