Answer the question
In order to leave comments, you need to log in
What libraries or techniques can be used to upload more than 150,000 products from a csv file to Bitrix IM so that the site does not go down during this time?
There is a file with >150000 lines, these are goods. They must be uploaded to a site managed by Bitrix via api. How to upload is clear, but more than one site does not pull such a file.
What are the tricks or libraries, and how can I optimize the code to load everything.
Answer the question
In order to leave comments, you need to log in
How to upload is clear, but more than one site does not pull such a file.
greatly increase the running time of scripts in php max_execution_time and the maximum file size
max_upload_file
In any case, you put the site down, the only question is for how long.
You can put it conditionally for 2 hours and load all the goods at once, or you can put it for 1-2 seconds every 5 minutes, but then the import will take a couple of days.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question