How to make API faster ?

GildasPro

New Member
Hi,

I use the MailWizz API to import lot of subscribers. But the API is long. For example, to import 100
the execution time is about 80 seconds.

How can I reduce this execution time ?

Is it possible via the API to perform a mass import?

Otherwise, we intend to insert data directly into the database. Can you tell me if you just insert a single table or if further checks are needed?

Thanks for your help
 

twisted1919

Administrator
Staff member
Why not use PHP's pcntl extension to send all those 100 emails in parallel?
Or use a bash script to spawn multiple processes that send subscribers?
You have plenty options ;)
 
Top