T
T
tgarl2022-04-01 10:49:20
PHP
tgarl, 2022-04-01 10:49:20

How to process and upload a large xml file with products?

Faced such task. There is an .xml file under 1GB. Here you need to disassemble it and create a catalog on the site based on it. In addition, it will be updated a couple of times a day.
I searched for solutions on the network, I didn’t find anything sensible, all that is there is to work with a file of ten megabytes, as soon as it comes to parsing files under 100 MB, everything is either not enough memory or time. Who works with such volumes, help how you solve such problems.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2022-04-01
@tgarl

https://ikfi.ru/article/parsim-xml-s-pomoschju-xml...

D
Dr. Bacon, 2022-04-01
@bacon

google, SAX or xml stream parser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question