0

I have been stuck in my task about running functions in parallel. I has tried this library multi-threading pthreads from krakjoe, but I has limit knowledge about installations in ubuntu. I has tried this amp/parallel instead and other amphp. The examples in github is running well enough, but I can't implement it by my style.

I'm not familiar with whatever semantics, if there are many example to do within this amp/parallel. I would be very happy.

The problems

i need to run one function in parallel way, I want to read report from excel File, and bulk insert all the rows to database and this proccess needs two hours to be completed. And I want to repeat this functions in parallel way. How to bulk insert and read file Excel I have knowledge to do it.

Please give me some example, whenever from blogs, website, or github about parallel functions or multi-threading in php7.2.

Florian Weimer
  • 32,022
  • 3
  • 48
  • 92

1 Answers1

-4

I have found worked installation pthreads on ubuntu, and I have done some experiment on it. This questions can be closed.