Hello,
I'm an experienced PHP/ajax programmer working on a PALM based website that includes transcoding of user submitted media (A good example is the videos submitted by youtube users and encoded after submission to FLV format).
The transcoding itself is done by an executable in the shell (activated by command line exec function) that may take long time for each conversion.
I assume I need some kind of queue to avoid running many such tasks in parralel, which will hurt efficiency.
My question is - what will be the best architecture to implement such transcoding queue. Should cron be used? Some other kind of asynchroneous call? etc.
links to code samples or tutorials would be very helpful.
Thanks
Winds