Forum How do I...?

How do I run multiple instance of PrinceXML concurrent?

emkookmer
Hi,

We generate a ton of pdf documents from PHP-CLI , and this takes a long time. But only one CPU/Core is used. So how do we make PrinceXML use multiple CPU's/Cores?

Or do i Need to fork the PHP process multiple times and start multiple PriceXML instances concurrently?

Regards,
dv
mikeday
You need to call multiple Prince instances concurrently. This will speed things up if you have a lot of documents to process, but not if you have one very large document to process.