Thinking About Synchronization Belarus Mobile Number and Exception

The company’s operating colleagues need to send coupons to a large number of designate users every month, in units of tens of thousands. They can only organize the user data into Excel tables. Belarus Mobile Number And then import the data in the tables into the operation platform in batches. However, the function of batch importing and sending target data on the operation platform. Only supports a single import of up to 1,000 items. Assuming that the operation needs to send coupons to 150,000 designate users. It means that he needs to batch import 150 times on the operation platform to send all the data. Belarus Mobile Number The target is import; 150 times, operating classmates, it’s crazy. Batch import supports importing up to 1,000 records at a time.

Only Organize the User Data Into Belarus Mobile Number

We can find that when the user operates, the front-end will initiate a request, requiring the back-end to respond immediately, and give the processing result within a “certain period of time”. Belarus Mobile Number How long is this “certain time”? I once again confirm to my R&D colleagues that the current architecture of the operating platform supports a maximum response time of 8 seconds for a request. If the batch import data Belarus Mobile Number fails to complete the processing of the response within 8 seconds, the request will respond with a timeout, and the result of processing failure will be return immediately.

The Batch Imported Data Fails Belarus Mobile Number

Belarus Mobile Number
Belarus Mobile Number

In order to ensure that all this can be complete within a “certain period” and return to the front-end processing results. The amount of data import in a single batch can only be limit to about 1,000. How can I get rid of the limit of 1000 items import in batches? 1. Synchronous processing Belarus Mobile Number method Obviously. The batch import function in the case is design based on the logic of synchronous processing. When the user operates, the front-end will send a request, and the back-end must process the request content Belarus Mobile Numbers before returning the result to the front-end. During the backend response to the request, if the user closes the interface, the processing will be interrupt.

Leave a comment

Your email address will not be published. Required fields are marked *