Time segment processing policy? There are 10 thousand pieces of data. only one thousand pieces of data can be processed per hour. & nbsp; what should we do in this time period and batch strategy ?? Manual Batch and time division are not considered. I plan to use the scheduled task & nbsp; and then batch process all the data & nbsp; one time point. I don't know if this method is feasible. are there other better strategies? Please advise. ---- what are the processing strategies in different time periods?
There are 10 thousand data records.
Only one thousand entries can be processed per hour.
What should we do in this time division and batch policy ??
Manual Batch and time division are not considered.
I plan to use a scheduled task to process all the data in batches at one time point.
I don't know if this method is feasible.
Are there other better strategies? Please advise me.
------ Solution --------------------
You can use shell to perform scheduled tasks in different time periods. batch processing can use methods similar to php paging for data processing, such as retrieving 100 data records each time. First, write the batch processing into a method, and then use shell to call this method at the specified time point.