user2650277
user2650277

Reputation: 6739

Parallel File Upload in php

I am coding my own image hosting script.I think that parallel processing will definitely help to make full use of the hardware (CPU with multi cores , lots of ram) in a production environment when the user upload many images at one time.Size of images can be a maximum of 10mb.

How far i am correct about my assumption about parallel processing? How can i implement parallel processing or multi threading with php to make multiple file uploads more efficient

Upvotes: 1

Views: 1295

Answers (1)

xate
xate

Reputation: 6379

in PHP there is no "real" multi-threading. But you can help yourself out with extensions like pthreads.

Check this website out:

http://pthreads.org/

Upvotes: 1

Related Questions