Showing results for 
Search instead for 
Did you mean: 

Execute csv Import module programmatically

Execute csv Import module programmatically



I'm new on Magento but I try some way for fast import product.


1- Rest Api ( with multitreading pool of 10 treads)


2- On magento server site with cron job how loop csv file and create product with ProductRepositoryInterface


3- use Import Module 


And the result is Magento Import Module is fastesh and not freeze the web site.


is not really good test but just to make you an idea with 2k products the import module take 30 sec and 

the Rest & Cron take more than 4 mins with disable indexer


With indexer on Save the time is really bad


So somebody know how I can call this import module programmatically ?


Thank for you suggestion