G
G
gofree2020-06-08 16:00:18
PHP
gofree, 2020-06-08 16:00:18

How to update a large number of xml files?

Hello, I'm trying to figure out how to update xml files more correctly and faster.
There are categories in each entry category. And you need to update xml files for 20 services of each category.

Those. for example (100 categories * 10,000 entries) * 20 services

How can this theoretically be organized? By cron to bypass each category and create prepared records in a separate table? And with the next pass, update 20 xml files of each category with these prepared entries?
Or are there any other options for a small load on the server and the ability to update records at least once every 10 minutes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2020-06-08
@gofree

throw out all 100500 files to rm -rf, make 1 random script that will generate the necessary XML on request

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question